+

Search Tips   |   Advanced Search

Set the ibm-webservices-bnd.xmi deployment descriptor for JAX-RPC Web services


Use assembly tools to configure the ibm-webservices-bnd.xml deployment descriptor. This file stores binding information that is associated with the endpoints defined with the webservices.xml deployment descriptor file.

The ibm-webservices-bnd.xmi deployment descriptor is for JAX-RPC based Web services application. It is not used for JAX-WS enabled applications.

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.

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

Then, complete the EJB implementation or complete the Java Beans implementation. When the EJB implementation is complete, the enterprise bean JAR file is assembled. When the Java Beans 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 we can configure the webservices.xml deployment descriptor.

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 JAR files created with the Assembly Toolkit, Application Assembly Tool or a different tool to the Rational Application Developer assembly tool. To migrate files, import the JAR files to the assembly tool. Read about migrating code artifacts to an assembly tool in the Rational Application Developer documentation.

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

 

Results

The ibm-webservices-bnd.xmi deployment descriptor is configured for the Web service implementation module.

 

Next steps

If developing a Web service from Java Beans, assemble a WAR file that is enabled for Web services from Java code.

If we are developing a Web service from an enterprise bean, assemble a JAR file that is enabled for Web services from an enterprise bean. In this task you assemble the artifacts that are required to enable the EJB module for Web services into the JAR file.


JAX-RPC Web services enabled module - deployment descriptor settings (ibm-webservices-bnd.xmi file)

 

Related concepts


Assembly tools

 

Related tasks


Set the webservices.xml deployment descriptor for JAX-RPC Web services
Assembling a JAR file that is enabled for Web services from an enterprise bean
Assembling a Web services-enabled enterprise bean JAR file from a WSDL file
Assembling a WAR file that is enabled for Web services from Java code
Assembling a Web services-enabled WAR file from a WSDL file
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