Chapter 7. Working with Scopes

So far, we learned about data manipulation and fault handling within a BPEL process. We also learned about synchronous and asynchronous web service invocations. One thing that we can observe from any previous chapters is that all the resources such as variables, partner links, and correlations sets which are referred by some activity, are defined in the top level of the BPEL process. Those resources are visible to any activity. However, what if we need to restrict the visibility of such resources to a particular activity or a set of activity? The <scope> activity comes to the rescue. It helps us organize the BPEL process into hierarchical organized parts. Let's see how it works.

In this chapter, we will cover the ...

Get WS-BPEL 2.0 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.