This documentation is for WSO2 Enterprise Integrator version 6.1.0 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Message builders and formatters are specified in in <EI_HOME>/conf/axis2/axis2.xml (or <EI_HOME>/conf/axis2/tenant-axis2.xml under the messageBuilders and messageFormatters configuration sections.  if you are working in a multi-tenant environment), under the messageBuilders and messageFormatters configuration sections.

The ESB profile of WSO2 EI has a few default message builders, so even if you do not specify them explicitly in in axis2.xml or tenant-axis2.xml, they will take effect when messages of those content types come into the WSO2 EIESB profile. If you want to use different builders, specify them in in axis2.xml or tenant-axis2.xml to  to override the defaults. WSO2 EI does The ESB profile does not have default message formatters, so it is important to specify all of them in the the axis2.xml or tenant-axis2.xml configuration configuration. Following are the default message builders:

Content typeMessage Builder

application/soap+xml

org.apache.axis2.builder.SOAPBuilder

multipart/related

org.apache.axis2.builder.MIMEBuilder

text/xml

org.apache.axis2.builder.SOAPBuilder

application/xop+xml

org.apache.axis2.builder.MTOMBuilder

application/xml

org.apache.axis2.builder.ApplicationXMLBuilder

application/x-www-form-urlencoded

org.apache.axis2.builder.XFormURLEncodedBuilder

Using message relay

If you want to enable message relay, so that messages of a specific content type are not built or formatted but simply pass through WSO2 EI, you can specify the message relay builder (org.wso2.carbon.relay.BinaryRelayBuilder) for that content type. For more information, see Configuring Message Relay.

...