Testing the Functionality of a Transformation Service

You can test the functionality of a transformation service at design time, prior to packaging, using the Test page in the Transformation Service Editor.

The Test page is used only for transformations that do not use custom wire formats:

To test the design-time functionality of a non-custom wire format transformation:

  1. Select theTest tab in the Transformation Service Editor.

  2. Select instance documents for each source schema defined as an operation parameter in your service.

    An instance document can be specified on the Web (URL), in your local Sybase project, or elsewhere in your file system.

  3. If you need to create or edit instance documents, use the XML editor.

  4. Select File|Save.

  5. Click Test.

    Test results contains a tab for the output document of one of your target schemas. Inspect each output document.

    Note

    By default, each output document is displayed in XML format. To display each output document in a tree format, change the Test Page Output Format option in Preferences. See Setting Transformation Editor Preferences.

  6. Click Save to save the contents of the selected output tab.

Validating an XML Document Instance

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com