Creating a DADX Web service - overview

Document Access Definition Extension (DADX) is an XML document format that specifies how to create a Web service using a set of operations that are defined by DAD documents and SQL statements. A DADX Web service enables you to wrap DB2® extender or regular SQL statements inside a standard Web service. The DADX file defines the operations available to the DADX runtime environment, and the input and output parameters for the SQL operation.
Prerequisites:

The DADX Web Service tools in this product support the generation of DADX Web Services for versions 8.2 and 9.1 of the DADX Web Service Provider. In version 8.2 of WORF, the DADX tools supports only the Apache Axis 1.1 runtime. In version v9.1 of WORF, the Apache Axis 1.1 and IBM WebSphere JAX-RPC runtimes are supported.

Creating a DADX Web service requires that you complete the following steps:
1. Create a Web project
Create a dynamic Web project and select the DADX Web service provider for the project in the Properties view.
2. Create a DADX group configuration
The Web Service DADX Group Configuration wizard assists you in creating a DADX group. The DADX group contains connection (JDBC and JNDI) and other information that is shared between DADX files within the group.
3. Create a DADX file
You can use XML tools to create DAD and DADX files. You can also write DADX files using any text editor. Then use the Web Services wizard to generate your WSDL documents, deployment descriptors, client proxy, property mappings, deployment mappings, and test your DADX Web service, in preparation for publishing your Web service to the UDDI registry.
4. Create a DADX Web service
Once you have created a DADX group and DADX file, use the Web Service wizard to assist you in creating and deploying a new Web service. Once your Web service is deployed, the wizard assists you in generating the client proxy, and sample application to test the new Web service. When you have completed testing, you can publish your Web service to a UDDI Business Registry using the Export wizard.

If you have created a DADX Web service in a previous release and want to migrate it, follow these instructions: Migrating a DADX Web service

Once you have created the Web service you can publish it to a UDDI registry as described in: Publishing Web services and business entities.

Feedback