Book Image

WS-BPEL 2.0 Beginner's Guide

Book Image

WS-BPEL 2.0 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
WS-BPEL 2.0 Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – developing the book warehousing process


Let's start with the implementation of the BookWarehousingBPEL process. We should follow these steps:

  1. We will start with the XML schema definition. To do this, we need to double-click on the BookWarehousingBPEL.xsd file (in the Schemas folder) and write the following schema, as shown:

  2. Now we can switch back to the BPEL tab (BookWarehousingBPEL.bpel). First, we will add an <assign> activity to prepare a request for both the bookstore BPEL processes. In <assign>, we will copy the whole BookData element from inputVariable to a new variable, which we will create on the fly. We should do the following:

    1. Drag-and-drop <assign> to the BPEL process between the <receive> and <reply> activities.

    2. Double-click on the <assign> activity to open the dialog window.

    3. To hold and store the request for both bookstore BPEL processes, we need a new variable. Therefore, we will right-click on Variable and select the Create...