Hi,
i ve got a webservice war running on JBoss 7.1.1 and a apropriate client genereated from the WSDL via wsimport.
I am able to upload large files when enabling MTOM programmatically. But if I only use wsimport without looking to enable MTOM, and I try
a large upload, this will end in a OutOfMemory Exception.
So my question is, is it possible to turn on the MTOM support on client side automatically, or via the WSDL. Or is there any way, that the
attachement will be automatically converted as a SOAP attachement instead of inline?
This is the part of my WSDL which contains the DataHandler.
<xs:complexType name="uploadFile">
<xs:element minOccurs="0" name="arg1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
Thanks in advance.
Patrick