Throw Fault
The Throw Fault task enables you to explicitly throw a fault in a mediation flow.
This task can be placed only on the input path. The Throw Fault task is useful in these situations:
- You want to deprecate a mediation operation, and send a fault to all clients that request that operation.
- You want to specify routing cases where a fault should be sent. For example, if a loan processing application cannot process loans over $5,000,000, then you would configure a routing case for the loan request operation to examine the loan amount and place a Throw Fault task on the sub-path when the loan amount is over $5,000,000.
General Tab
- Use the General tab to select the fault to throw.
- You can choose to throw the MediationTaskFault message, or you can click Browse to open a dialog of service descriptors.
- You can choose from the list of messages in the selected service descriptors to send a specific message when a fault is thrown. When a message in a service descriptor is selected, the WSDL Location field appears.
- You can click the field label link to view the service descriptor in the WSDL editor.
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.