Troubleshooting Transformation Service Runtime Errors

Problem: Runtime errors in a transformation service.

Solution: Do the following:

  1. Open the Transformation Service Editor and select the Test tab.
  2. Provide an XML document that matches the schema of the input parameter for the service.
  3. View the transformation results in the Transformation Results pane:
    Option Description
    Check that your XML Schemas are correct for your data. Problems in transformation services are often caused by using schemas that are either not valid XML Schemas, or schemas that do not correctly describe the data that you wish to transform. If you have any doubts about the XML Schemas that you are using, you should validate one or more instance documents that you believe are valid with respect to the schemas, using the Sybase XML Editor.
    1. Open the schema in the Sybase XML Editor.

    2. Generate an instance document, using the Generate Instance Document option on the XML menu.

    3. Open the instance document in the Sybase XML Editor.

    4. Validate the document using the Validate XML option on the XML menu.

    Check the XSL that is built for your Transformation Service. When you test a transformation service at design time, an XSL Stylesheet is built that performs the transformation. The stylesheet is located in the \bin folder of your project under a path which mirrors the path to your service.
    1. Remove the filter on the \bin folder in the WorkSpace Navigator to view it.

    2. Locate the XSL file and open it in the Sybase XML Editor.

    3. Select XML > Format > PrettyPrint from the menu bar pretty-print the XSL.

    4. Review the XSL.

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.