BPEL Designer: Adding Catch Elements
See Also
The Catch activity can intercept and handle only specific types of fault. It can be used inside a Scope activity to handle faults before they can affect the entire process. These types of fault are defined by a globally unique variable QName and the type of data associated with the fault.
The Catch element is created inside a Fault Handlers
container element. Thus, before adding Catch, you should add a Fault Handler container element to the Process or Scope element.
To add and configure a Catch activity:
- If you have not added a Fault Handlers container, right-click the Scope or Process element and choose Add > Add Fault Handlers.
- Right-click the Fault Handler container and choose Add > Add Catch.
- In the Properties window, configure the following Catch properties:
- Fault Name. Select the QName of the fault from the list of faults, which contains the faults defined in the WSDL files.
- Fault Variable Name (Optional). Specify the name of an existing BPEL
variable that will contain the fault message.
- Fault Variable Type (Optional). Specify the type of the variable.
- Add an activity to the Catch element that will be performed in case of a fault.
- See Also
- Adding Fault Handlers
- Throw
- Adding Catch All Elements
- About Variables in the BPEL Designer
Legal Notices