Web services enabled module - ibm-webservices-bnd.xmi
The ibm-webservices-bnd.xmi file is a deployment descriptor for a Web services-enabled Web or EJB module, and contains information for the Web services run time that is required by WAS.
You can edit these properties using an assembly tool.
The following user-defined assembly properties are supported:
- wsDescNameLink
Attribute of the wsdescBindings element that specifies the link to the corresponding element...
<webservice-description-name>...in webservices.xml.
- pc-name-link
Attribute of the pcBindings element that specifies the link to the element...
<port-component-name>...in webservices.xml.
- scope
Attribute of the pcBindings element that specifies when new instances of implementation beans are created. Possible values are...
- request
- session
- application
You can change scope value for a deployed Web service using the administrative 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. 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 with a unique string value. 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.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
Configure the ibm-webservices-bnd.xmi deployment descriptor
Configure the webservices.xml deployment descriptor
Configure the webservices.xml deployment descriptor for handler classes
Assemble Web services applications