Summary
In this chapter, we first had an idea about what faults could be generated within a business process. Then we looked at what a fault handler is. Then we moved on to a sample which covers those aspects and explained how the WS-BPEL 2.0 specification models the aforementioned faults. We categorized those faults into three groups as follows:
Modeling execution errors with WS-BPEL 2.0 standard faults
Modeling logical (explicit) errors with the
<throw>
activityModeling errors propagated from external web services
We described how logical (explicit) faults are signaled within the business process definition and then explained how a signaled fault is propagated back to the client of the business process. So, at the end of this chapter, the reader is capable of declaring a fault handling behavior to a business process.
In the next chapter, we are going to discuss the <scope>
activity which is really useful in organizing a business process into hierarchical parts.