+

Search Tips   |   Advanced Search

Set the webservices.xml deployment descriptor for JAX-RPC Web services


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 documentation. Before we can configure the ibm-webservices-bnd.xml deployment descriptor, 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 need to configure the deployment descriptors so that the appserver can process the incoming Web services requests.

If we are developing a Web service from Java Beans™, we can develop Web services Java Beans deployment descriptor templates from a WSDL file. Then, you complete the Java Beans implementation. To learn more, read about developing Java Beans deployment descriptor templates from a WSDL file and completing the Java Beans implementation.

If we are developing a Web service from an enterprise bean, we can develop Web services EJBs 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 Java Beans implementation is complete, the Web module 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 EE (Java EE ).

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

 

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

  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 documentation.

  3. Migrate the 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 the WAR files to the assembly tool. Read about migrating code artifacts to an assembly tool in the Rational Application Developer documentation.

  4. Set the deployment descriptor. Read about the configuring the client deployment descriptor in the Rational Application Developer documentation.

 

Results

we have a webservices.xml deployment descriptor configured.

 

Next steps

For JAX-RPC Web services, configure the ibm-webservices-bnd.xmi deployment descriptor.


Assembly tools

 

Related tasks


Develop JAX-RPC Web services deployment descriptor templates for a Java Beans implementation
Develop JAX-RPC Web services deployment descriptor templates for an enterprise bean implementation
Completing the Java Beans implementation for JAX-RPC applications
Completing the EJB implementation for JAX-RPC applications
Set the ibm-webservices-bnd.xmi deployment descriptor for JAX-RPC Web services