Configure payload view

Use this procedure to format EDI or XML documents with stylesheets for viewing in Message Tracker. This is optional , except if you process CSOS documents and need to identify CSOS document types. Documents by default can be viewed as plain text without stylesheets .

  1. In Message Tracker, expand the Columns category in the custom search area on the left side of the page. Select document type as a column for display in search results.
  2. Execute a search. Note the document type of the document you want to display with a stylesheet. If the document is XML, the document type is blank. See Force a document type for XML for how to remedy this.
  3. Select Message tracker > Configure payload view on the toolbar. The Document type page displays.
  1. Click Add a document type to display the page of that name.
  2. In the name field, type the document type you noted in step 2.
  3. Optionally, type a description.
  4. Select the stylesheet to apply for display from the stylesheet list.
  5. The following stylesheets may be available by default.
  6. defaultEDI.xsl

    Formats an EDI document that has been converted to XML via rules files.

    defaultXML.xsl

    Formats any XML document.

    defaultXML2.xsl

    Formats any XML document.

    e222.xsl

    Formats CSOS documents. This stylesheet is intended for CSOS EDI documents.

  7. Depending on your license agreement, other stylesheets may be available. You also can use your own stylesheets rather than the default stylesheets.
  8. For EDI, note that the default stylesheets work only if your system has the proper rules files for converting EDI to XML. These files are in <install directory>\conf\tx\oboe_rules. As part of the default installation, you should already have the rules files you need. If not, contact technical support.
  9. For XML documents, if you want to use your own stylesheet, test the stylesheet with a sample of the XML document to make sure it works. Then copy the stylesheet to <install directory>\conf\web\documents. Your stylesheet then appears in the stylesheet selection list in the user interface.
  10. For EDI documents, if you want to use your own stylesheet, contact Axway professional services for help.
  11. Select View formatted using a stylesheet.
  12. Click Save.
  13. Execute a search in Message Tracker. You can type a value in the document type field to narrow the search for a single document type.
  14. When the search results are displayed, click a Details link for the document type you added to view message details.
  15. On the document summary or message processing details tab, click a view payload link. The selected stylesheet is used to display the document. In this view, you have the option to switch to a plain text or browser view or switch back to the stylesheet view.

Force a document type for XML

To apply a stylesheet when viewing an XML document, a document type value must be forced in order to identify the documents for applying the stylesheet. In Message Tracker, the document type by default is blank for XML documents.

Forcing a document type value enables you to view future XML documents with a stylesheet, but not the XML documents traded before forcing the value.

  • For outbound documents – For the integration pickup exchange for XML documents, open the maintenance page for the transport and go to the message attributes tab. Use directory mapping or a fixed attribute to set up DocumentType=XML. (The value does not have to be XML. It is used here for simplicity.)
  • For inbound documents – For the community delivery exchange for receiving messages from partners, open the maintenance page for the transport and go to the message attributes tab. Set up a fixed attribute value of DocumentType=XML.

Related topics

Related Links