Support centre

File attachments

Last Updated: Jul 02, 2015 01:01PM NZST

SOAP APIs that require attachments may use MTOM (Message Transmission Optimization Mechanism) for more efficient transmission of binary content in a request. Review the specific API documentation to see whether MTOM can be used, or whether the attachment content must be included as base64 encoded content within the SOAP message.

 

MTOM messages are sent as a multipart MIME package, with the SOAP package as one part and the binary content in other parts. This allows a smaller request size, as otherwise the attachment must be sent as a string encoded using base64 technique, which increases the attachment size by a factor of 1.33x.

 

Further documentation on how to use MTOM can be found at:



Java
http://docs.oracle.com/cd/E14571_01/web.1111/e13734/mtom.htm#WSADV131
http://www.codejava.net/java-ee/web-services/using-mtom-to-optimize-binary-data-transfer-with-jax-ws-web-services

.Net
https://msdn.microsoft.com/en-us/library/aa395209(v=vs.110).aspx




Contact us

Call us

  • 0800 624 301

06331954b2882b2fe5350819c54a3b70@mbieapi.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete