Configure the ibm-webservices-bnd.xmi deployment descriptor
This topic explains how to configure the ibm-webservices-bnd.xml deployment descriptor.
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.
Overview
This task is one of the steps in developing a Web service. We need to configure the deployment descriptors so that WebSphere Application Server can process the incoming Web services requests. Depending on if you are developing a Web service from a Java bean or an enterprise bean:
- Develop Web services Java bean deployment descriptor templates from a Web Services Description Language (WSDL) file.
- Develop Web services EJB deployment descriptor templates from a WSDL file.
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
- Start an assembly tool. See "Starting WAS Toolkit" in the Application Server Toolkit documentation for more information.
- 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.
- 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.
- Configure the client deployment descriptor. See "Editing Web services" in the Application Server Toolkit documentation for more information.
Results
The ibm-webservices-bnd.xmi deployment descriptor is configured for the Web service implementation module.
What to do next
If you are developing a Web service from a Java bean, assemble a WAR file that is enabled for Web services from Java code.If you 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.
Web services enabled module - deployment descriptor settings (ibm-webservices-bnd.xmi file)
Related tasks
Configure the webservices.xml deployment descriptor
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
Developing JAX-RPC Web services deployment descriptor templates for a JavaBeans implementation
Developing Web services deployment descriptor templates for an EJB implementation