This image shows an interaction diagram showing WS headers and how they direct messages to the correct destination. The following actions take place:

  1. In the BPEL process, an invoke activity instantiates a service, which contains a loanApp variable to store the contents of the request.

  2. The loanApp variable is passed to the WS-addressing header, which assigns it a callback location and correlation ID.

  3. The loan service WSDL initiates a port and processes the loanApp data to the asynchronous loan processor service.

  4. 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.