Viewing message content

The Raw Transaction Data view displays the raw XML, text, or binary content of any service request or response that is selected in the generic service client.

About this task

The Raw Transaction Data view displays plain text, XML, or binary data, depending on the type of the message content.

Procedure

To view text, XML, or binary message content:
  1. In the generic service client, click the View menu, and select Raw Transaction Data.
    If you are using IBM® Rational® Performance Tester or IBM® Rational® Service Tester for SOA Quality, click Window > Show View > Other > Generic Service Client > Raw Transaction Data
  2. Select a service request or response.
    If you are using Rational® Performance Tester or Rational® Service Tester for SOA Quality, this view is also linked to the selected request or response in service tests, service stubs, or in the test log.
  3. Depending on the nature of the message content, the following actions are available:
    Text mode

    When a plain text element is displayed, you can select and copy text. Click Colorize Text to enable or disable text colorization for HTML.

    XML mode

    When an XML element is displayed, you can select and copy text. Click Colorize Text to enable or disable text colorization for XML. Click Enable XML Pretty Serialization to improve readability by adding line breaks and indentation to the XML content.

    If the XML content is modified by a request or response stack or by the WSDL security editor, the Stack Contents pane displays the list of steps in the stack. You can select each step to view the changes to the XML content. You can also select one or two steps and click Compare Steps to open a comparison window.

    Binary mode
    When a binary element is displayed, you can switch between Binary and Raw-ASCII views. Right-click the binary view to perform the following actions:
    • Select: Opens the Select window, where you can select binary data by string or by specifying the number of characters to select. When a portion of binary data is selected, you can copy it to the clipboard.
    • Go to Offset: Opens the Go to Offset window, where you can move to bytes at a particular offset.
    • Find: Opens the Find window, where you can search for and replace binary data in a number of formats.
    • Encodings: Select the encoding to use for displaying binary data in the text column.