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
About the Authors
About the Reviewers

Time for action – adding the BookOrderManagement process

Let us now implement the BookOrderManagement process:

  1. First, we will add the BPEL Process component to the assembly diagram:

  2. Next, we will wire the BookOrderManagementBPEL process with the BookWarehousingBPEL process:

  3. Next, we will define the corresponding XML schema for the BookOrderManagementBPEL process. Let's first have a quick look at the BookWarehousing XML schema:

  4. In the BookOrderManagementBPEL process, we would like to use a very similar schema. The only difference would be that we would like to accept a list of BookData as an input parameter. Therefore, we will import the BookWarehousing XML schema and add the minOccurs and maxOccurs attributes to define the list (array):

For the process response, we will use a simple string, through which we will communicate the status.

What just happened?

We have created the BookOrderManagementBPEL process, wired it with the BookWarehousingBPEL process, and created the schema elements for the...