ibm-webservices-bnd.xmi assembly properties
ibm-webservices-bnd.xmi properties
The ibm-webservices-bnd.xmi file is a deployment descriptor for a Web Services-enabled Web module or enterprise JavaBean (EJB) module. It contains information for the Web services runtime that is either WebSphere product-specific or was not specified by the Web Services for J2EE specification.
You can edit these properties using the Assembly Toolkit. See Configuring the ibm-webservices-bnd.xmi deployment descriptor for instructions.
The following user-definable assembly properties are supported:
- wsDescNameLink
Attribute of the wsdescBindings element that specifies the link to the corresponding <webservice-description-name> in webservices.xml.
- pc-name-link
Attribute of the pcBindings element that specifies the link to the <port-component-name> in the webservices.xml file.
- scope
Attribute of the pcBindings element that specifies when new instances of implementation beans are created. Possible values are Request, Session, and Application.
The value of scope for a deployed Web service can be changed using the administrative console. Using application management, navigate to the Web module of the Web service application and select Web Services Implementation Scope.
Example bindings file
The following examples demonstrate the spelling and position of the various attributes. You cannot cut and paste these examples because they do not contain the required ID attributes. If you add elements to a binding file template generated by the WSDL2Java command, confirm that each element has an ID attribute whose value is a unique string. Review the template xmi files generated by the WSDL2Java command for examples of ID strings
<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.c../WAS51/appserver/schemas/5.0.2/wsbnd.xmi"> <wsdescBindings wsDescNameLink="AddressBookService"> <pcBindings pcNameLink="AddressBook" scope="Application"/> </wsdescBindings> </com.ibm.etools.webservice.wsbnd:WSBinding>
See Also
Configuring the ibm-webservices-bnd.xmi deployment descriptor