O'Reilly logo

Enterprise Integration with WSO2 ESB by Prabath Siriwardena

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Transforming messages from REST/JSON to SOAP and SOAP to REST/JSON (Simple)

Message transformation is one of the key features expected from an ESB in enterprise integration. Here we will see how to transform a REST/JSON message into a SOAP message, and in the return path a SOAP message into a JSON message.

Getting ready

Let's use the same example we used in explaining the Content-Based Router pattern. There we had the proxy service CreditCardPaymentService, which accepts payment-processing requests over HTTP, and delegates further processing to different other SOAP based services depending on the type of the credit card such as VISA, AMEX, or Master.

Here we will introduce a REST API from the WSO2 ESB, which will accept requests in JSON, and then ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required