Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Process Flows and Functionalities : MTOM

MTOM
TIBCO BusinessConnect SOAP Protocol supports MTOM standard for optimizing the transmission of binary data in XML infoset.
The business document in a request or response might contain large binary data encoded in base64. MTOM is a standard to optimize this type of data, because the base64 encoded data might be much larger than the original binary data. Once this standard is applied, the binary element in the XML infoset is externalized into a separate SOAP attachment.
In the current implementation, you can enable or disable MTOM feature in TIBCO Administrator. You can configure each trading partner separately. Only the binary element in the XML document specified in the body node of the request private process is processed by using MTOM standard. You can provide a value in the xop > tagName > value field to indicate which binary data element in the XML document to be processed by MTOM standard.
For inbound messages, if optimized messages by MTOM are detected, the messages are parsed and the original binary data extracted from the MTOM attachments will be encoded in base64 and put back into the SOAP body, before the SOAP message is further processed.
MTOM and attachments from a private process cannot be used together. So if the MTOM is enabled for outbound message and in the meanwhile some attachments are also specified from a private process request message, the request will be rejected and the outbound process will not proceed.
MTOM can also be used together with content encryption. If the XML data is encrypted for outbound message, the binary content referred to the value in the xop > tagName > value field in the private process message is ignored. The encrypted data in the CipherValue element after encryption is used to construct the MTOM attachment.
See Configuring General Properties for a Partner on how to select SOAP MTOM.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved