Configure the ibm-webservices-bnd.xmi deployment descriptorDevelop implementation templates and bindings for the ibm-webservices-bnd.xmi from the WSDL file.
Do one of the following based on whether your implementation is an EJB JAR file or Web module Web archive (WAR) file:
- Assemble a Web services-enabled JAR file when starting from Java code.
- Assemble a Web services-enabled WAR file when starting from Java code.
- Assemble a Web services-enabled JAR file when starting from WSDL.
- Assemble a Web services-enabled WAR file when starting from WSDL.
This topic explains how to configure bindings using the Assembly Toolkit which replaces the Application Assembly Tool (AAT). It is one of the tools available with the Application Server Toolkit product. For more information about completing tasks with the Assembly Toolkit, click Help > Help in the Assembly Toolkit graphical user interface. .
To configure the ibm-webservices-bnd.xmi deployment descriptor with the Assembly Toolkit...
- Start the Assembly Toolkit.
- Click File > Import to import the EJB JAR file or WAR file into the Assembly Toolkit.
- Open the J2EE perspective by clicking Windows >Open Perspective > Other > J2EE.
- Switch to the Project Navigator pane by clicking the Project Navigator tab.
- Locate the project containing the webservices.xml file in the Project Navigator pane.
- Expand the directories under the project until the META-INF or WEB-INF directory and its contents appear.
- Right-click the webservices.xml file.
- Select Open.The Web Services editor opens.
- Click the Bindings tab located at the bottom of the editor pane.The Web Services Bindings editor opens.
- Verify the wsdescNameLink element settings.
- Expand the Web services description bindings section. Verify that the value of the <webservice-description-name> element in the webservices.xml deployment descriptor is listed in the section. If the value is not listed...
- (Optional) Click Add, choose the correct Web services name and click OK.You do not need to complete this step is you have verified that the correct Web services name is listed in the Web Services Description Bindings tab.
- Verify the pcnameLink attribute settings.
- Expand the Web Service Description Bindings section. Verify that the correct service is selected.If the correct service is not listed...
- (Optional) Expand Port Component Binding.Verify the correct Web services name is selected in the Web Service Description Bindings section.
This selection is a prerequisite to creating a pcnameLink attribute.
- In the Port Component Binding section, click Add. You need to make a selection in the Web Service Description Bindings section before you can create the port component binding in the Port Component Binding section. The Port Component Bindings Dialog opens.
- Select the desired port from the drop down list in the PC Name Link field.
- Click OK.
- Click the Binding Configurations tab to view the bindings for your port.
- Save the bindings file.
- Click File > Export to export the JAR file, or continue using the Assembly Toolkit for configuration and assembly tasks.
- Click ctrl-s to save your changes.
The ibm-webservices-bnd.xmi deployment descriptor is configured for the Web service implementation module.
See AlsoStarting the Assembly Toolkit
Configuring the webservices.xml deployment descriptor
Assembling a Web services-enabled EJB JAR file when starting from Java code
Assembling Web services-enabled EJB JAR file when starting from WSDL
Assembling a Web services-enabled WAR file when starting from Java code
Assembling a Web services-enabled WAR file when starting from WSDL
Developing Web services deployment descriptor templates for a Java bean implementation
Developing Web services deployment descriptor templates for an EJB implementation
ibm-webservices-bnd.xmi assembly properties