Configuring XSL transformations for operations in Web services migrated from Web Object Runtime Framework

When you migrate a Web Object Runtime Framework (WORF) Web application, you need to configure XSL transformations for each operation in the Web services that you create.

Procedure

To configure XSL transformations for an operation in a Web service that you created from a WORF Web application:

  1. Copy the schema element from the WORF WSDL document and insert it into a new XML schema file. Ensure that the schema is valid. You can create a new XSL schema file in the workbench. Expand the XML folder in your project, right-click the XML Schemas folder, and select New > XML Schema. In the Editor view, click the Source tab.
  2. Add the WORF XML schema for the operation to the Web service. Right-click the Web service and select Manage Custom Schemas to open the Manage Custom XSL Schemas wizard.
  3. Open the Manage XSL Transformations wizard by right-clicking the operation and selecting Manage XSL Transformations.
  4. Click Generate default to generate the default XML schema for the input messages and the output messages.
  5. Create an XSL file for the transformation of input messages from client applications and another for the transformation of output messages.
  6. Open the Manage XSL Transformations wizard by right-clicking the operation and selecting Manage XSL Transformations.
  7. In the Input Message Transformation box, follow these steps:
    1. Select the XSL file for the transformation of input messages.
    2. Select the Custom schema check box.
    3. Select the root element of the input messages.
  8. In the Output Message Transformation box, follow these steps:
    1. Select the XSL file for the transformation of output messages.
    2. Select the Custom schema check box.
    3. Select the root element of the output messages.
  9. Click Finish.

Feedback