Back Forward Tracer tool
Tracing services

You can use the Tracer to monitor any active requestor session. However, a service usually runs in a new requestor session with a requestor ID that is not created until the service begins processing. At that point, the processing that the service performs in that requestor session occurs so quickly (in less than one second), it can be hard to catch the event to trace it.

In this situation, it is recommended to use the Trace Open Rule feature to trace the service rule. This feature can be used to trace a service request that is invoked from an external client application. C-2430

To use the Trace Open Rule feature to trace and debug a service rule:

  1. Open the service rule. Note which RuleSet it belongs to. C-2430
  2. Select Availability> Trace Open Rule. The Tracer tool window opens. BYRNB 2/22/10
  3. Click Settings (Options) to open the Trace Options panel. updated icon for 6.2 sp2 wetma
  4. Select Services in the Rule Types area.
  5. In the RuleSets to Trace section, select the RuleSets that contain the service rule and service activity.
  6. Click  OK   to close the Trace Options panel.
  7. Run the rule.
  8. Watch the Tracer display as the rule runs. The window includes lines for the start and end of each service rule execution, lines for the start and end of request mapping, lines for the start and end of response mapping, and (if these options are selected in the Trace Options panel) lines for the start and end of parse rules, XML Stream rules, and HTML rules.

The Tracer offers the following trace options for services:

For more information about tracing and testing services, see Testing Services and Connectors, a document posted on the PDN.

Related topics Setting Tracer options
       Unit testing a rule with the Run Rule feature

Up Debugging with the Tracer