Using an XQuery transformation to map between the different data models of the services
Due to the fact that on the proxy service we use a different WSDL than the external service offered, we need to adapt the data models between these two interfaces when sending the request message as well as on the way back when returning the response message. There are different ways to achieve that, probably the most common one in OSB being the use of an XQuery script.
Make sure that you have the current state of the
basic-osb-service project available in Eclipse OEPE. We will start this recipe from there. If necessary, it can be imported from here:
How to do it...
First we will need ...