+

Search Tips   |   Advanced Search

(ibm-webservices-bnd.xmi file)

This article is an introduction to the ibm-webservices-bnd.xmi deployment descriptor file for JAX-RPC Web services.

The ibm-webservices-bnd.xmi file is a deployment descriptor for a Web services-enabled Web module or an EJB module. This file contains information for the Web services run time that is required by WAS.

We can edit these properties using an assembly tool. See Set the ibm-webservices-bnd.xmi deployment descriptor for instructions.

The following user-defined assembly properties are supported:

We can change scope value for a deployed Web service using the admin console. Click Enterprise Applications > application > Web modules or EJB modules > module > Web Services Implementation Scope.

 

Bindings file examples

The following examples demonstrate the spelling and position of the various attributes. We cannot cut and paste these examples because they do not contain the required ID attributes. If we add elements to a binding file template generated by the WSDL2Java command, confirm that each element has an ID attribute with a unique string value. Review the template xmi files generated by the WSDL2Java command for examples of ID strings. Read about the WSDL2Java command-line tool for Java API for XML-based Remote Procedure Call (JAX-RPC) applications to learn more about this tool.

<com.ibm.etools.webservice.wsbnd:WSBinding xmi:version="2.0" 
    xmlns:xmi=
"http://www.omg.org/XMI" 
    xmlns:com.ibm.etools.webservice.wsbnd=
"http://www.ibm.com/websphere/appserver/schemas/5.0.2/wsbnd.xmi">
  <wsdescBindings wsDescNameLink="AddressBookService">
    <pcBindings pcNameLink="AddressBook" scope="Application"/>
  </wsdescBindings>
</com.ibm.etools.webservice.wsbnd:WSBinding>





 

Related tasks


Set the ibm-webservices-bnd.xmi deployment descriptor for JAX-RPC Web services
Set the webservices.xml deployment descriptor for JAX-RPC Web services
Set the webservices.xml deployment descriptor for handler classes
Assemble Web services applications

 

Related


WSDL2Java command for JAX-RPC applications