MimeParser
This activity is responsible for parsing MTOM messages into a SOAP message that contains binary attachments as an inline data of the SOAP message. The output can be either in a Text or in a Binary format.
General
The General tab has the following fields.
| Field | Description |
|---|---|
| Name | The name to be displayed as the label for the activity in the process. |
| Input Style | The input message format. (Currently only MTOM is available.) |
| Output Style | The output message format.
You can select either Text or Binary format for the output messages. |
Description
Provide a short description for the MimeParser activity.
Advanced
The Advanced tab has the following.
| Field | Description |
|---|---|
| Generate Strict Parsing Errors | Select this checkbox to generate strict parsing validation errors. |
Input
The following is the input for the activity.
| Input Item | Datatype | Description |
|---|---|---|
| MimeBinaryData | Binary | This is the incoming binary data. |
Output
The following is the output of the activity.
| Output Item | Datatype | Description |
|---|---|---|
| soapMessage | Binary or String | Depends on the type selected in the Output Style format. |
| StrictValidationErrors | Complex | This displays only when the Generate Strict Parsing Errors checkbox is selected. |
| ErrorString | String | Shows strict parsing validation error logs. |
Fault
The Fault tab lists the possible exceptions generated by this activity. For more information about error codes and the corrective action to take, see the ActiveMatrix BusinessWorks Error Codes.
| Fault | Generated When... |
|---|---|
| XOPParseException | The input has XOP-related exceptions. |
| MimeParseException | The input has MIME related exceptions. |
| InvalidXMLException | The input has invalid xml related exception. |