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 – creating the AnotherBookstoreBPEL process


Let's now develop the AnotherBookstoreBPEL process. We have already created BPEL processes in Chapter 1, Hello BPEL, and Chapter 2, Service Invocation; therefore, we will briefly describe the steps:

  1. To create the AnotherBookstoreBPEL process, we will add a new BPEL process on the composite. We will enter the XML namespace as shown in the following screenshot and select the Synchronous BPEL Process template:

  2. Next, we will create a new reference between the BookWarehousing process and the AnotherBookstore process. To achieve this, we will drag the reference from the BookWarehousingBPEL component to the AnotherBookstoreBPEL component. You should see the following composite screenshot:

  3. We will modify the auto-generated schema for the process. Open the Schemas folder in the project tree and double-click on the AnotherBookstoreBPEL.xsd schema. Modify the schema content by declaring the BookData and StockQuantity elements, exactly as shown...