Invoking asynchronous ODI web services with callbacks
As we saw in the previous recipe, SOA and data integration are very complimentary to one another. Web service integration is great, but for advanced web service processing and orchestration, executing a web service with a callback method is a must. Executing web services with callbacks does require additional configuration and may seem like an advanced web service topic, however web services with callbacks are a standard in every SOA deployment.
The configuration and execution of a web service with a call back in ODI is relatively straightforward. The web service is executed as normal, however within the calling request, a callback address is set. This address is a port where the application server is listening for a response from the web service. When the application server gets a response posted, it interrogates the response for a match that it might be waiting for and then acts appropriately. In this recipe, we will use ODI to execute...