MTOM Output Processor – Converts a SOAP Request into an MTOM (Message Transmission Optimization Mechanism) message and includes attachments.
Select the Processor Configuration tab and click on Add Processor.
Select the MTOM Output Processor from the drop down.
Similar to the MTOM Input Processor configuration, the MTOM Output Processor first requires specifying a parameter source, which is either XPath or Literal-based. Both the XPath and Literal configuration tabs provide fields for naming attachments and identifying them.
In the Basic tab you can set:
Boundary: This is the boundary string used for the attachments file.
Content ID: This is the content ID used for the message Content-Id: value.
Parameter source: Enables XPath mode or Literal mode.
In the Conditional Execution tab you can set additional processor execution conditions. The Transaction data dependent condition may be specified here as enhanced expression. If this expression returns anything other than TRUE (ignore case) – this processor will be skipped. No additional configuration for this Processor is required.
At the XPath tab you can set:
MIME Type XPath: This is the XPath location of the MIME type of the attached file.
Encoding Type XPath: This is the XPath location of the encoding type of the attached file.
Content ID XPath: This is the XPath location of the Content ID of the attached file.
File Name XPath: This is the XPath location of the full name of the attached file.
In the Literal tab you can set:
File Path: This is the XPath location of the full name of the attached file.
File Table: The file names and properties to be used. Properties are MIME type, encoding and content id; separated by tilde (~).