Configure the ibm-webservices-bnd.xmi deployment descriptor

Develop 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:

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

  1. Start the Assembly Toolkit.

  2. Click File > Import to import the EJB JAR file or WAR file into the Assembly Toolkit.

  3. Open the J2EE perspective by clicking Windows >Open Perspective > Other > J2EE.

  4. Switch to the Project Navigator pane by clicking the Project Navigator tab.

  5. Locate the project containing the webservices.xml file in the Project Navigator pane.

  6. Expand the directories under the project until the META-INF or WEB-INF directory and its contents appear.

  7. Right-click the webservices.xml file.

  8. Select Open.The Web Services editor opens.

  9. Click the Bindings tab located at the bottom of the editor pane.The Web Services Bindings editor opens.

  10. Verify the wsdescNameLink element settings.

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

    2. (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.

  11. Verify the pcnameLink attribute settings.

    1. Expand the Web Service Description Bindings section. Verify that the correct service is selected.If the correct service is not listed...

    2. (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.

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

    4. Select the desired port from the drop down list in the PC Name Link field.

    5. Click OK.

    6. Click the Binding Configurations tab to view the bindings for your port.

    7. Save the bindings file.

  12. Click File > Export to export the JAR file, or continue using the Assembly Toolkit for configuration and assembly tasks.

  13. Click ctrl-s to save your changes.

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

 

See Also

Starting 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