Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Working with Web Services | Enabling MTOM/XOP Support for a Web Service Descriptor | Enabling SOAP Attachments for a Web Service Descriptor
 
Enabling SOAP Attachments for a Web Service Descriptor
Before enabling SOAP attachments for a web service descriptor, configure the watt.server.SOAP.MTOMThreshold property with the appropriate value. This property specifies the field size, in kilobytes, that determines whether Integration Server sends base64binary encoded data in an outbound SOAP message as a MIME attachment or whether it sends it inline in the SOAP message. For more information about this property, see webMethods Integration Server Administrator’s Guide.
If you want to stream MTOM attachments, you have to do additional configuration. For more information about the configuration required to enable MTOM streaming, see the Web Services Developer’s Guide.
*To enable SOAP attachments for a web service descriptor
1. In Package Navigator view, open and lock the web service descriptor for which you want to enable or disable SOAP attachments.
2. In the Properties view, next to Attachment enabled, select True if you want to enable SOAP attachments for the WSD. Otherwise, select False.
3. Click File > Save.