SOA Tips-For Large Messages Use MTOM
07 May 2007SOA-Tips
If the exchanged Business Objects are large and contain multiple different types of binary content, use Message Transmission Optimization Mechanism (MTOM) which uses XML-binary Optimized Packaging (XOP) to transmit binary data.
Create a wrapper message that can contain multiple different types of files.
The wrapped message can then serve as a virtual message.
Use multi-part MIME to physically carry the message so at any point, you don’t have to parse the entire message at once.
This ensures efficient transmission of large binary data between the service and its consumers.