Book Image

WS-BPEL 2.0 Beginner's Guide

By : Matjaz B Juric
Book Image

WS-BPEL 2.0 Beginner's Guide

By: Matjaz B Juric

Overview of this book

If you are a software architect, a designer, a software developer, an SOA and BPM architect, a project manager, or a business process analyst who is responsible for the design and development of business processes, composite applications, and BPM/SOA solutions, then this book is for you. You should have a clear grasp of general SOA concepts including business processes and web services, but no prior knowledge of the BPEL language is required.
Table of Contents (14 chapters)
13
Index

Time for action – copying variables


Let's implement the copy between the BookstoreAResponse variable and the BookStoreWithLowestQuantity variable. To do this, we will do the following:

  1. Open the BookWarehousingBPEL.bpel window.

  2. Scroll to the <if> activity and locate the ifBookstoreALower branch.

  3. Drag-and-drop the Assign activity from the right-hand side BPEL Constructs / Basic Activities toolbar and place it after the existing AssignBookstoreA assignment.

  4. Double-click on the assign activity and the Edit Assign window will appear. Here you need to connect the BookstoreAResponse variable from the left-hand side with the BookStoreWithLowestQuantity variable on the right-hand side of the dialog window:

  5. Finally, switch to the General tab and rename the assign activity name to AssignBookStoreWithLowestQuantity.

What just happened?

We have added the assign activity to copy the message type BookstoreAResponse variable to the BookStoreWithLowestQuantity variable. This is possible because both variables...