wsdl - wsdl2java and soap with attachments issue -
I created a WS client using wsdl2java for a soap service that was developed with Soap Lib 0.8.2 (Python)
Have done The server supports soap with the epiboots because I could see with TCPdump while using a built-in customer with soapbox. But when it comes to Java, the generated client does not send attachments as other parts, but embedded in XML as the base-64 binaries.
I would like to know how the Java client can be installed, the order of sending the attachment as partitions and not embedded in XML?
You need to set
stub._getServiceClient (). GetOptions () SetProperty (Constants.Configuration.ENABLE_MTOM, Constants.VALUE_TRUE);
Please refer to this blog [1] for more information.
[1]
Comments
Post a Comment