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 – extending the BookWarehousing process


We are now prepared to extend the BookWarehousingBPEL process. The goal is to invoke the AnotherBookstoreBPEL process in addition to the BookstoreABPEL and BookstoreBBPEL processes. We will do the following:

  1. We will add a new <flow> branch for the invocation of the AnotherBookstoreBPEL process, as shown in the following screenshot:

  2. Before we can invoke the AnotherBookstoreBPEL process, we need to declare two variables, AnotherBookstoreRequest and AnotherBookstoreResponse. They should be of AnotherBookstoreRequestMessage and AnotherBookstoreResponseMessage message types, respectively.

  3. We will need to assign the values for the AnotherBookstoreRequest variable. For this, we will use the <assign> activity, which we will drag-and-drop from the Components palette to the <flow> branch. We will copy field-by-field the book ISSN, title, edition, and publishing year from the inputVariable variable to the corresponding elements...