Databases Reference
In-Depth Information
The re-throw action allows us to do just this. We can define a fault handler that
catches our business faults such as the following:
<faultNamexmlns:tns="http://rubiconred.com/obay/svc/CreditCard"
name="invalidCreditCard"
<condition>
<actionref="ora-rethrow-fault"/>
</condition>
</faultName>
This will then invoke the following action:
<Actionid="ora-rethrow-fault">
<rethrowFault/>
</Action>
This will re-throw the fault to our BPEL process.
This action can't be used to handle faults within a
Mediator component.
Replay scope action
This action causes the fault management framework to return a replay fault to the
BPEL process. This fault will be automatically caught by the scope in which the fault
is thrown and trigger the BPEL engine to re-execute the scope from the beginning.
A replay scope action takes no parameters and is defined as follows:
<Actionid="ora-replay-scope">
<replayScope/>
</Action>
This action can't be used to handle faults within a
Mediator component.
 
Search WWH ::




Custom Search