This image shows an interaction diagram showing WS headers and how they direct messages to the correct destination. The following actions take place:
In the BPEL process, an invoke activity instantiates a service, which contains a loanApp variable to store the contents of the request.
The loanApp variable is passed to the WS-addressing header, which assigns it a callback location and correlation ID.
The loan service WSDL initiates a port and processes the loanApp data to the asynchronous loan processor service.
The asynchronous loan processor service processes the request and then sends a response (stored in a variable called loanOffer) back to the BPEL process by opening a callback port. The WS-addressing header tracks the response with the appropriate correlation ID.