PIXI gate, PARSE_XOP function
Converts the XOP message back to standard XML, by replacing any xop:Include elements with the base64binary encoded data from the corresponding binary attachment. If there are no XOP elements, nothing is changed.
Input Parameters
- ATTACHMENTS_CONTAINER
- The 16-byte name of the container in the specified channel that contains the binary attachments list.
- BODY_CONTAINER
- The 16-byte name of the body container in the specified channel that contains XOP or XML data. This should be a container of DATATYPE(CHAR).
- CHANNEL_NAME
- Optional parameter
- The 16-byte name of the channel for all referenced containers. If this parameter is omitted, then the current channel is assumed.
- NAMESPACES_CONTAINER
- Optional parameter
- The 16-byte name of the container in the specified channel that contains the list of namespaces. The syntax is xmlns:prefix="value".
Output Parameters
- ATTACHMENTS_COUNT
- The number of <xop:Include> elements that were processed. If the number is 0, the original body container does not include any XOP elements and has not been modified.
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- CHANNEL_NOT_FOUND
- CONTAINER_NOT_FOUND
- CONTAINER_CCSID_ERROR
- CONTAINER_WRONG_TYPE
- ATTACHMENT_NOT_FOUND
- INPUT_ERROR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.