{
throw new XFireException("Couldn't find the binding!");
}
serializer = AbstractSoapBinding.getSerializer(binding.getStyle(), binding.getUse());
}
serializer.writeMessage(message, writer, context);
writer.close();
outStream.close();
StreamSource src = new StreamSource(new ByteArrayInputStream(outStream.toByteArray()));
return src;
}