Available parsers

A parser is called by the integration node only when that parser is required. The parser that is called depends upon the parser that has been specified.

For certain implementation functions, it might be necessary to specify the name of a parser supplied with IBM® Integration Bus. For example, functions include:
  • cniCreateElementAfterUsingParser
  • cniCreateElementAsFirsthChildUsingParser
  • cniCreateElementAsLastChildUsingParser
  • cniCreateElementAsLastChildFromBitstream
  • cniCreateElementBeforeUsingParser

When using these functions, you must specify the correct class name of the parser. The following tables provide a summary of the parsers, root element names, and class names for different headers.

The following table shows the Body parsers.
Parser Root element name Class name
BLOB BLOB NONE
DataObject DataObject DataObject
IDOC (deprecated) IDOC IDOC
JMSMap JMSMap JMS_MAP
JMSStream JMSStream JMS_STREAM
MIME MIME MIME
MRM MRM MRM
SOAP SOAP SOAP
XML (deprecated) XML xml
XMLNS XMLNS xmlns
XMLNSC XMLNSC xmlnsC
JSON1 JSON JSON
DFDL DFDL DFDL
Note:
  1. To enable the JSON parser on an integration node, use the -f parameter on the mqsichangebroker command. For more information, see mqsichangebroker command.
The following table shows the Header parsers.
Parser Root element name Class name
EmailOutputHeader EmailOutputHeader EMAILHDR
HTTPInputHeader HTTPInputHeader WSINPHDR
HTTPReplyHeader HTTPReplyHeader WSREPHDR
HTTPRequestHeader HTTPRequestHeader WSREQHDR
HTTPResponseHeader HTTPResponseHeader WSRSPHDR
JMS header JMSTransport jms_transport
MQCFH MQPCF MQPCF
MQCIH MQCIH MQCICS
MQDLH MQDLH MQDEAD
MQIIH MQIIH MQIMS
MQMD MQMD MQHMD
MQMDE MQMDE MQHMDE
MQRFH MQRFH MQHRF
MQRFH2 MQRFH2 MQHRF2
MQRFH2C MQRFH2C MQHRF2C
MQRMH MQRMH MQHREF
MQSAPH MQSAPH MQHSAP
MQWIH MQWIH MQHWIH
SMQ_BMH SMQ_BMH SMQBAD
When using the MQMD parser, the MQMD is assumed to be a V2 MQMD.
The following table shows the Properties parser.
Parser Root element name Class name
Properties Properties PropertyParser

You can also create your own user-defined parsers, or you can make use of user-defined parsers that have been supplied by independent software vendors.