Time for action – adding compensation handlers

Let's perform the following steps of instructions to construct the book order process. First of all, let's create a new asynchronous BPEL 2.0 process named Book_Order_Process. We illustrated the process to create an asynchronous BPEL in Chapter 5, Interaction Patterns in BPEL. Perform the following steps:

  1. Drag-and-drop a <scope> activity from the BPEL constructs palette in between the receiveInput and callbackClient activities. Name the <scope> activity registerBookOrder.
  2. Drag-and-drop an <empty> activity to this <scope> activity, and name it dummyRegisterBookOrder. This is used to model the tasks related to book order registration, such as creating an entry in the order management system.
  3. Now we will ...

Get WS-BPEL 2.0 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.