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

Modeling execution errors with WS-BPEL 2.0 standard faults


The WS-BPEL 2.0 specification defines a standard set of faults. Each of those faults is defined to represent an erroneous behavior that could occur during a business process execution. Examples of such standard faults include the following:

  • correlationViolation: It is thrown when the contents of the messages that are processed in <invoke>, <receive>, <reply>, <onMessage>, or <onEvent> do not match specified correlation information

  • uninitializedVariable: It shows a fault representing an attempt to refer or access the data in an uninitialized variable

  • uninitializedPartnerRole: It is thrown when attempting to refer a partner link which has an uninitialized partner role

  • selectionFailure: It is thrown when a selection operation performed either in a function, such as bpel:getVariableProperty or in an assignment, encounters an error

These faults are generated by BPEL at runtime.