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 Formats | SOAP, POX, or JSON Stock Quote Request |
Router | Filter Mediator routes messages based on an existing XPath expression, which identifies what format the message is in. |
Translators | XSLT Mediator |
Common Format Message | SOAP 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.
...