Tutorial: Running the NamedFaultAWF Project and Invoking a Catch Branch

Prerequisites:

You performed the steps in Tutorial: Practicing With the Scope Step to Handle Named Web Service Faults.

In this exercise, you run the NamedFaultAWF Project in the SBM User Workspace.

To run the NamedFaultAWF Project:

  1. Log on to the SBM User Workspace.
  2. Select the FaultHandlingApp tab.

    If the FaultHandlingApp tab is not visible, click the More tab, and then select FaultHandlingApp in the list.

  3. If Submit View appears in the navigation pane, click Submit to my Preferred Projects. Otherwise, click the Submit View icon at the bottom of the navigation pane.
  4. In the Submit Tree, click NamedFaultAWF Project.

    The Submit transition form opens.

  5. In the Title field, enter one of the business names from the table in SerenaSampleTickerService Company Names and Ticker Symbols, and then click OK.

    The ticker symbol is returned in the Title field of the state form.

  6. Click GetBuyRating.

    The GetBuyRating transition form opens.

  7. Click OK.

    The buy rating is returned in the Description field of the state form. The Description field should contain the following message: "This company has a strong-buy rating."

  8. In Submit View, click Submit to my Preferred Projects.
  9. In the Submit Tree, click NamedFaultAWF Project.
  10. In the Title field, type some invalid input such as Acme Company, and then click OK.

    The SerenaSampleTickerService-GetTickerSymbolFault message appears in the Description field. If you typed Acme Company, the message should read as follows: "No information is available for 'acme company'. The companies listed on this service are 'Rob & Bert manufacturing', 'Aftabitorium', 'Meg N Ah Electric Co.', 'BlueJay Bird Supply', 'Tim Buck 2 Entertainment', and 'Carol Creations'." If you click GetBuyRating, the NamedFaultOWF2 orchestration workflow is not invoked and the information in the Title and Description fields does not change.

Related Topics

Tutorial: Practicing With the Scope Step to Handle Named Web Service Faults