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 – adding scopes


  1. Let's create two scopes and add those two <invoke> activities into those two scopes separately, so we can define local variables, partner links, and so on, which are only visible within a particular <scope> activity. So drag-and-drop the <scope> activities inside the sequences where the <invoke> activities are, as shown in the following screenshot:

  2. Now we can drag the existing <invoke> activities into the newly added <scope> activities:

  3. Now, the remaining task is to transfer the variables from the global phase to local phase. If you look at the variable hierarchy within the process definition, it looks like the following screenshot:

  4. There is not a straightforward transfer mechanism. So, to transfer what we can do is to clone the definition on the global variable within the <scope> activity and delete the global variable. So, the final variable hierarchy within the process definition will be as shown:

  5. Likewise we can further...