Configure the ibm-webservicesclient-bnd.xmi deployment descriptor

This topic explains how to configure the ibm-webservicesclient-bnd.xmi deployment descriptor file using the Assembly Toolkit, which replaces the Application Assembly Tool (AAT). It is one of the tools available with the Application Server Toolkit product.

To configure theibm-webservicesclient-bnd.xmi deployment descriptor file...

  1. Start the Assembly Toolkit

  2. Locate the webservicesclient.xml file in the module.

  3. Double-click the webservices.xml file to open the Web Services Client editor.

  4. Access the Web Services Client Bindings editor through the Client Binding tab at the bottom of the editor pane.

  5. Verify the componentNameLink element settings.

    1. Open the Web Services Client Bindings editor.

    2. Expand the Component scoped references section.

    3. Click Add.

    4. Select the component scoped references defined in the webservicesclient.xml file from the list.

  6. Verify the serviceRefLink element settings.

    1. Open the Web Services Client Bindings editor.

    2. Click the Services References tab.

    3. Click Add.

    4. Select the service references defined in the webservicesclient.xml file from the list.

  7. Verify the deploydWSDLFile element settings.

    1. Open the Web Services Client Bindings editor.

    2. Select the service references or component scoped reference desired.

    3. Expand the Service reference details section.

    4. Click Browse on the Deployed WSDL file field.

    5. Select the new WSDL file.

    6. Click OK.

    The deployedWSDLFile element of a deployed Web service can also be changed using the administrative console. Using application management, navigate to the Web module or EJB module of the Web service application and select Web Services Client Bindings.

  8. Verify the defaultMappings element settings.

    1. Open the Web Services Client Bindings editor.

    2. Click Default Mappings.

    3. Click Add.

    4. Edit the entries in the newly added row to establish a mapping between a portType and port in the WSDL file. There can only be one entry for each portType.

    5. Select the new WSDL file.

    6. Click OK.

    The defaultMappings of a deployed Web service can also be changed using the administrative console. Using application management, navigate to the Web module or EJB module of the Web service application and select Web Services Client Bindings.

  9. Access the Web Services Client Port Bindings editor through the Port Bindings tab at the bottom of the editor pane.

  10. Verify the syncTimeout element settings.

    1. Create a Port Qualified Name Bindings for the port.

    2. Open the Web Services Client Bindings editor.

    3. Confirm that a service reference is selected in either the Component scoped references or Service references section.

    4. Expand the Port qualified name bindings section.

    5. Click Add. A new entry is now added to the Port qualified name bindings list.

    6. Click the new Port qualified name bindings entry. The Web Services Client Port Bindings editor opens.

    7. Expand the Port qualified name bindings details section.

    8. Type the namespace of the WSDL file port you want to configure, in the Port Namespace Link field.

    9. Type the local_name of the WSDL file port you want to configure in the Port Local Name Linkfield. The name displayed in the Port qualified name bindings list is the local name of the WSDL file port.

    10. Click OK.

    1. Configure the syncTimeout property by locating the Synchronization timeout field and enter the desired value.

  11. Verify the basicAuth element settings.

    1. Open the Web Services Client Bindings editor.

    2. Expand the Basic authentication section.

    3. Type the desired value in the User ID and Password fields.

    4. Click OK.

  12. Verify the sslConfig element settings.

    1. Open the Web Services Client Bindings editor.

    2. Expand the SSL Configuration section.

    3. Type the desired value in the Name field.

    4. Click OK.

  13. After editing the properties, type ctrl-s on your keyboard to save the changes.

 

See Also

Developing Web services clients based on Web Services for J2EE
Developing client bindings from a WSDL file
Configuring the webservicesclient.xml deployment descriptor
Starting the Assembly Toolkit
ibm-webservicesclient-bnd.xmi assembly properties