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

Introducing dynamic parallel invocations


In this section, we introduce a new sample named book querying process that reads a book name as input, searches it across all the bookstores (Bookstore A, Bookstore B, and Bookstore C), and returns the bookstores in which the book is available. The sample is as shown in the following screenshot:

Creating the <forEach> activity

Let's move on to the creation of the <forEach> activity creation. Within the <forEach> activity, we use the <invoke> activity to send search requests. During the <invoke> creation process, the input and output variable creation also can be configured. First of all, let's create a new asynchronous BPEL 2.0 process named Book_Querying_Process. We illustrated creating an asynchronous BPEL process in Chapter 5, Interaction Patterns in BPEL.