Wso2 ESB can convert anything to anything. Today I'm going to explain the below scenario. Scenario :- 1. Soap client send a request to ESB with soap header. 2. ESB remove soap header and invoke the REST service which only accept XML format. 3. REST service generate a response in xml format 4. ESB adding soap headers to response and send back to SOAP client. As an example REST service, I'm going to use jaxrs_basic service in WSO2 Application server. Download wso2 application server from this link Step 1 :- Change the offset value in carbon.xml file which is located in <AS_HOME>/repository/conf directory. If you started WSO2 ESB in offset "0" set offset in application server as "1" <Offset>1</Offset> Start wso2 application server Step 2 :- ...