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

In-line fault handling


The WS-BPEL 2.0 specification enables defining fault handlers that are specific to behavioral contexts. In other words, WS-BPEL 2.0 supports defining different fault handlers to different activities from a set of activities. The <scope> activity supports the creation of behavioral contexts which can consist of fault handlers, variables, partner links, correlation sets, and so on that are local to that specific <scope> activity. We'll talk more about the <scope> activity in the next chapter. In this section, we will discuss how to define a fault handler that is specific to a particular activity or a particular set of activities. In the BPEL world, we call them in-line fault handlers.

An in-line fault handler is defined within a <scope> activity, so it's only visible to the particular scope and not the whole process definition. Also, a fault handler also can be defined within the <invoke> activity in a similar manner. This enables a much...