O'Reilly logo

WS-BPEL 2.0 for SOA Composite Applications with IBM WebSphere 7 by Gregor Srdic, Matjaz B. Juric, Ales Frece, Swami Chandrasekaran, Matej Hertis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Asynchronous calls, callbacks, and correlation

BPEL processes, particularly long-running processes, invoke services in an asynchronous manner. Instead of synchronous invocations, they use asynchronous invocations. Related to asynchronous invocations are callbacks. To correlate asynchronous requests and responses, we need to use correlation. In the previous chapter, we described how correlation in BPEL works. Here we will show an example in WID.

We will implement the TravelApproval process, which we introduced in Chapter 2. The client invokes the business process, specifying the name of the employee, the destination, the departure date, and the return date. The BPEL business process first checks the employee travel status, using a synchronous invocation. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required