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:
- 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.
- 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.
- Open the
Manage XSL Transformations wizard by right-clicking the operation and selecting
Manage XSL Transformations.
- Click
Generate default to generate the default XML schema for the input messages and the output messages.
- Create an XSL file for the transformation of input messages from client applications and another for the transformation of output messages.
- Open the
Manage XSL Transformations wizard by right-clicking the operation and selecting
Manage XSL Transformations.
- In the
Input Message Transformation box, follow these steps:
- Select the XSL file for the transformation of input messages.
- Select the
Custom schema check box.
- Select the root element of the input messages.
- In the
Output Message Transformation box, follow these steps:
- Select the XSL file for the transformation of output messages.
- Select the
Custom schema check box.
- Select the root element of the output messages.
- Click Finish.
Related tasks
Migrating Web applications that were developed for the Web Object Runtime Framework (WORF)