Versions Compared

Key

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

This section explains, through an example scenario, how the Normalizer EIP can be implemented using WSO2 ESB. The following topics are covered:

Table of Contents

...

Before digging into implementation details, let's take a look at the relationship between the example scenario and the Normalizer EIP by comparing their core components.

Normalizer EIP (Figure 1)Normalizer Example Scenario (Figure 2)
Different Message FormatsSOAP, POX, or JSON Stock Quote Request
RouterFilter Mediator routes messages based on an existing XPath expression, which identifies what format the message is in.
TranslatorsXSLT Mediator
Common Format MessageSOAP Request from WSO2 ESB

...

Simulating the sample scenario

 You can test this configuration for JSON, SOAP, and POX messages using the sample Axis2 client that comes with WSO2 ESB. You can find examples below.

...