Introducing faults and fault handlers
Business processes are not intended to be a self-contained application. They are intended to cooperate with other existing remote services and to provide a service with much higher business value. So the WS-BPEL 2.0 specification provides constructs to satisfy these semantics.
Thus, a business process written in WS-BPEL 2.0 is capable of external web service invocations and manipulates the data based on the business logic. Speaking of such behavior, during the execution of the business process, it could lead to unexpected behaviors due to errors in the business logic, unexpected inputs, or unexpected behaviors in the environment. For example, an external web service may return a negative value where the client BPEL process expects a positive value. We explain some of those causes more specifically in the next section. Let's first see what sort of potential faults can be generated in a business process execution environment.
Communication issues
When a business...