Chapter 6, Fault Handling and Signaling

Pop quiz

Q1

<throw> is used to signal faults explicitly from the BPEL process. But <rethrow> is used only within a fault handler like <catch> or <catchAll> to propagate the caught fault to the enclosing scope explicitly.

Q2

A pair of <receive> and <reply> is used to propagate a fault back to a synchronous client where a pair of <receive> and <invoke> is used to propagate a fault back to an asynchronous client.

Q3

<catch faultName="fltns:faultName" > ... </catch> <catch faultVariable="fltns:faultVariable" > ... </catch> <catch faultName="fltns:faultName" faultVariable="fltns:faultVariable" > ... </catch> <catch faultName="fltns:faultName" faultVariable="fltns:faultVariable" faultMessageType="xmlns:faultMessaheTypefaultMessageTypefaultMessaheType"> ...

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.