Configure the webservices.xml deployment descriptor

 

+

Search Tips   |   Advanced Search

 

Overview

To configure the client deployment descriptor see "Client Deployment Descriptor editor" in the Application Server Toolkit documentation for more information. Before you can configure the ibm-webservices-bnd.xml deployment descriptor, develop the deployment descriptor templates and complete the implementation.

This task is one of the steps in developing a Web service. We need to configure the deployment descriptors so that WAS can process the incoming Web services requests. Depending on if you are developing a Web service from a Java bean or an enterprise bean:

Then, complete the EJB implementation or complete the JavaBeans implementation. When the EJB implementation is complete, the enterprise bean Java archive (JAR) file is assembled. When the JavaBeans implementation is complete, the Web module WAR file is assembled. These archive files contain the webservices.xml deployment descriptor. The archive files must be assembled before you can configure the webservices.xml deployment descriptor.

Configure the webservices.xml deployment descriptor by following the steps provided in this task section.

 

Procedure

  1. The Eclipse assembly tools, Application Server Toolkit (AST) and assembly tools, provide a graphical interface for developing code artifacts, assembling the code artifacts into various archives (modules) and configuring related J2EE V1.2, 1.3 or 1.4 compliant deployment descriptors.

  2. Start an assembly tool. See "Starting WAS Toolkit" in the Application Server Toolkit documentation for more information.

  3. If you have not done so already, configure the assembly tool to work on J2EE modules. Verify the J2EE and Web categories are enabled. See "Configuring WAS Toolkit" in the Application Server Toolkit documentation for more information.

  4. Migrate the WAR files that are created with the Assembly Toolkit, Application Assembly Tool (AAT) or a different tool to an AST or other assembly tools. To migrate files, import your WAR files to the assembly tool. See "Importing WAR files" in the Application Server Toolkit documentation for more information.

  5. Configure the deployment descriptor. See "Editing Web services" in the Application Server Toolkit documentation for more information.

 

Results

You have a webservices.xml deployment descriptor that is configured.

 

What to do next

Now, configure the ibm-webservices-bnd.xmi deployment descriptor.



Developing JAX-RPC Web services deployment descriptor templates for a JavaBeans implementation
Developing Web services deployment descriptor templates for an EJB implementation
Configure the ibm-webservices-bnd.xmi deployment descriptor