Developing a Transformation Service

To map the content of an input document, using a custom wire format or XML format, from one XML schema to another, you must develop a transformation service. The result of this process is a transformation service file you can use inside a business process service (Java transformation) or deploy to provide transformation functionality at runtime (XSL transformation).

For additional information, see Transformation Services.

The following workflow guides you through the development process. For assistance in performing these tasks, open the Developing a Transformation Service cheat sheet.

  1. Complete the setup.

    1. Open the Service Development perspective.

    2. Create a Sybase project in your workspace.

    3. Import source and target content models to your project. Typically, content models are obtained by browsing an XSD or WSDL, but you can also use a Java service, EJB service, database service, or message definition-based schema generated in WorkSpace using custom wire format as long as the resources contain the right information.

  2. Create the transformation service.

    The transformation service editor opens.

  3. Edit the service interface on the Service Interface page, if necessary.

  4. Define the service implementation on the Map page.

  5. Select File | Save to save the transformation service.

  6. Test the transformation performance using the Test page.

    Testing the transformation assists in verifying its functionality prior to using the service in a composite service or publishing the service.

    1. Select an instance document for each source content model.

    2. Verify the transformation functionality by reviewing the output documents.

Next: Developing a Sybase Services Package Profile or Developing a Business Process Service

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