+

Search Tips   |   Advanced Search

Configure the webservices.xml deployment descriptor for JAX-RPC web services

We can configure the webservices.xml deployment descriptor with an assembly tool.

To configure the client deployment descriptor, read about the configuring the client deployment descriptor in the Rational Application Developer information.

Before we can configure the ibm-webservices-bnd.xml deployment descriptor, we must develop the deployment descriptor templates and complete the implementation.

For JAX-RPC web services, this task is one of the required steps in developing a web service. We configure the deployment descriptors so that the application server can process the incoming web services requests.

If we are developing a web service from JavaBeans, we can develop web services JavaBeans deployment descriptor templates from a Web Services Description Language (WSDL) file. Then, you complete the JavaBeans implementation. To learn more, read about developing JavaBeans deployment descriptor templates from a WSDL file and completing the JavaBeans implementation.

If we are developing a web service from an enterprise bean, we can develop web services EJB deployment descriptor templates from a WSDL file. Then, you complete the EJB implementation. To learn more, read about developing web services EJB deployment descriptor templates from a WSDL file and completing the EJB implementation.

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

The assembly tools provide a graphical interface for developing code artifacts, assembling the code artifacts into various archives (modules) and configuring compliant deployment descriptors for Java Platform, Enterprise Edition (Java EE ).

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


Tasks

  1. Start an assembly tool. Read about starting the assembly tool in the Rational Application Developer information.

  2. If we have not done so already, configure the assembly tool so that it works on Java EE modules. We need to make sure that the Java EE and Web categories are enabled. Read about configuring the assembly tool in the Rational Application Developer information.
  3. Migrate the web application archive (WAR) files that are created with the Assembly Toolkit, Application Assembly Tool (AAT) or a different tool to the Rational Application Developer assembly tool. To migrate files, import your WAR files to the assembly tool. Read about migrating code artifacts to an assembly tool in the Rational Application Developer information.

  4. Configure the deployment descriptor. Read about the configuring the client deployment descriptor in the Rational Application Developer information.

We have a webservices.xml deployment descriptor configured.


What to do next

For JAX-RPC web services, configure the ibm-webservices-bnd.xmi deployment descriptor. To learn more, see the configuring the ibm-webservices-bnd.xmi deployment descriptor for JAX-RPC web services information.


Related:

  • Development and assembly tools
  • Developing JAX-RPC web services deployment descriptor templates for a JavaBeans implementation
  • Developing JAX-RPC web services deployment descriptor templates for an enterprise bean implementation
  • Completing the JavaBeans implementation for JAX-RPC applications
  • Completing the EJB implementation for JAX-RPC applications
  • Configure the ibm-webservices-bnd.xmi deployment descriptor for JAX-RPC web services