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 SBM Work Center.

To run the NamedFaultAWF Project:

  1. Log on to SBM Work Center.
  2. Click the FaultHandlingApp icon.
  3. Click +New.
  4. On the Browse tab, click the NamedFaultAWF Project link.

    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. Click +New.
  9. On the Browse tab, click the NamedFaultAWF Project link.
  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