SBM Orchestration Guide → Orchestration Procedures → Using the Scope, Throw, and Compensate Steps to Handle Faults From Web Services → Running the Fault Handling Process App → Tutorial: Running the GenericFaultAWF Project and Invoking the CatchAll Branch
Prerequisites:
You performed the steps in Tutorial: Practicing With the Scope Step to Handle Generic Web Service Faults and Tutorial: Altering the GenericFaultOWF to Return a Web Service Fault.
In this exercise, you run the altered GenericFaultAWF Project in the SBM User Workspace.
To run the GenericFaultAWF Project and return an error message:
If the FaultHandlingPro tab is not visible, click the More tab, and then select FaultHandlingPro in the list.
The Submit transition form opens.
The message An unknown error occurred at GenericFaultAWF_GenericFaultOWF_VerifyUser is returned in the Description field.
GenericFaultOWF should be selected.
The Message Detail dialog box opens and shows the content of the SOAP message.
The received SOAP message for the GenericFaultApp Project should contain the following information:
… <SOAP-ENV:Fault xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'> <faultcode>SOAP-ENV:Server</faultcode> <faultstring>Invalid User ID or Password</faultstring> <detail> <ae:AEWebservicesFault xmlns:ae='urn:sbmappservices72'>Invalid User ID or Password</ae:AEWebservicesFault> </detail> </SOAP-ENV:Fault> …
Note that the SOAP fault indicates an invalid user ID or password.
The sent SOAP message for the GenericFaultApp Project should contain the following information:
… xmlns:ns8='urn:sbmappservices72'><ns8:auth><ns8:userId>ZZZZZ</ns8:userId> </ns8:auth><ns8:loginId …
Note the incorrect entry for userID.
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.