Book Image

WS-BPEL 2.0 Beginner's Guide

Book Image

WS-BPEL 2.0 Beginner's Guide

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

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...