The <mtom_options> element
Specifies when to use MTOM for outbound SOAP messages for pipelines that do not support Java.
Used in:
- Service provider
- Service requester
Contained by:
Attributes:
| Attribute | Description |
|---|---|
| send_mtom | Specifies if MTOM should be used to convert
the outbound SOAP message into a MIME message:
|
| send_when_no_xop | Specifies if an MTOM message should be sent,
even when there are no binary attachments present in the message.
|
Example
<provider_pipeline>
<cics_mtom_handler>
<dfhmtom_configuration version="1">
<mtom_options send_mtom="same" send_when_no_xop="no"/>
</dfhmtom_configuration>
</cics_mtom_handler>
...
</provider_pipeline>
In this provider pipeline example,
SOAP messages are converted into MTOM messages only when binary attachments
need to be sent with the message, and the service requester sent an
MTOM message.