Migrating Web applications that were developed for the Web Object Runtime Framework (WORF)
You can migrate Web applications that were developed for the Web Object Runtime Framework (WORF).
Restrictions:
- Web services that are developed in the workbench do not support the following types of WORF operations:
- Dynamic query services (DQS)
- XML Extender operations
- You cannot group multiple Web services into one Web application. You must include only one Web service per Web application.
- You cannot import XML schemas or WSDL documents.
Prerequisites:
- Gather the DADX files and WSDL documents for each Web application that you want to migrate.
- Have available the group.properties file that defines the database connection that is used by the Web application.
About this task:
Migrating a Web application that was developed for WORF involves creating a Web service for each DADX file in the application. It also involves configuring two XSL transformations for each operation in the new Web services.
Table 1. XSL transformations that you configure for each operation in a Web service Input to the transformation Output from the transformation First XSL transformation Message tagged according to the WORF schema Message tagged according to the default XML schema that is generated by the workbench for the operation Second XSL transformation Message tagged according to the default XML schema that is generated by the workbench for the operation Message tagged according to the WORF schema
- Configure the Web server where you plan to deploy the Web services.
- If you want the workbench to deploy the Web services, add the Web server to the
Servers view
.
- Create a data development project that is associated with the database that the WORF application uses.
- For each DADX file, create one Web service.
For the namespace Uniform Resource Identifier (URI), use the namespace that is in the WSDL document for your WORF Web application.
- For each Web service that you created, create an operation for every operation in the corresponding DADX file.
You can base each operation on the corresponding statement for it in the DADX file. The operations can have the same names as they have in the WORF Web services.
- For every operation, configure XSL transformations.
The first XSL transformation transforms input messages tagged according to the WORF schema to messages tagged according to the default XML schema. The second transformation transforms output messages that use the default XML schema.
- Deploy the Web services.
Related tasks
Adding parameters to Web services
Sharing Web services with members of your development team