Databases Reference
In-Depth Information
Throwing faults
To do this, expand the <catch> branch for the Fault Handler by clicking on the ' + '
symbol and drag a Throw activity into it.
To specify the fault we wish to throw, double-click the Throw activity to bring up
the dialog to configure it, as shown in the next screenshot:
Next, click the search icon (circled in the previous screenshot) to bring up the
Fault Chooser . This time we want to browse to the fault we wish to throw,
which is the invalidUserDetails fault and is defined in the wsdl file for the
UserRegistration process.
We also want to record the reason for the invalidUserDetails , so we need to define
a fault variable to hold this. The simplest way to do this is by clicking on the magic
wand icon to create a variable of the right type, though you should specify that the
variable is local to the scope, as opposed to global.
 
Search WWH ::




Custom Search