ibm-webservicesclient-bnd.xmi assembly properties
This article is an introduction to the ibm-webservicesclient-bnd.xmi deployment descriptor file.
The ibm-webservicesclient-bnd.xmi file contains information for the Web services run time that is WebSphere product-specific.
You can configure deployment descriptors with assembly tools provided with WAS. See configuring the ibm-webservicesclient-bnd.xmi deployment descriptor for instructions.
Assembly properties The following user-definable assembly properties are supported:
- componentNameLink
An attribute of the componentScopedRefs element. When a Web service is implemented by an EJB implementation, each <componentScopedRefs> element contains assembly properties for an individual enterprise bean. The componentNameLink attribute of the <componentScopedRefs> element identifies the enterprise bean that the assembly properties apply to by specifying the <ejb-name>. This property is used only when the Web service client is an enterprise bean.
- serviceRefLink
An attribute of the serviceRefs element. Link to the <service-ref-name> in the <service-ref> element in the client deployment descriptor. The client deployment descriptor is either ejb-jar.xml, web.xml or application-client.xml.
- deployedWSDLFile
An attribute of the serviceRefs element is optional. Permits an alternate Web Services Description Language (WSDL) file to use other than that specified in the <wsdl-file> element of the <service-ref> element in the client deployment descriptor. If an attribute is specified, the alternate WSDL file must be packaged in the same module and must be compatible with the development WSDL file. The deployedWSDLFile property supplies a new WSDL file containing a different endpoint Web address than the original WSDL file.
- defaultMappings element
Identifies which port to use for a given portType when one is not selected by the client. This element has the following attributes: portTypeNamespace, portTypeLocalName, portNamespace, portLocalName. These attributes identify which wsdl:port should be used for a wsdl:portType.
- syncTimeout
An attribute of the portQnameBindings element. Specifies how long, in seconds, to wait for a response from a synchronous call. The default is 300 seconds.
- basicAuth
An element of the portQnameBindings element. Authenticates a service client to the service endpoint, independent of the underlying transport that includes, HTTP, HTTPS, and JMS (JMS). Set the user ID and password attributes as needed.
- sslConfig
An element of the portQnameBindings element. Specifies the SSL configuration of an HTTPS outbound request. The name attribute is the name of an SSL configuration entry or alias that is defined in the SSL configuration repertoire. This attribute is used only when the client is running in the WAS.
A bindings file example
The following example demonstrates 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.wscbnd:ClientBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.etools.webservice.wscbnd= "http://www.ibm.com/websphere/appserver/schemas/5.0.2/wscbnd.xmi"> <componentScopedRefs componentNameLink="myComponent ref"/> <serviceRefs serviceRefLink="myService ref" deployedWSDLFile="META-INF/wsdl/alternate.wsdl"> <defaultMappings portTypeLocalName="AddressBook" portTypeNamespace="http://www.com.ibm" portLocalName="AddressBookPort" portNamespace="http://www.com.ibm"/> <portQnameBindings portQnameNamespaceLink="http://www.com.ibm" portQnameLocalNameLink="AddressBookPort" syncTimeout="99"> <basicAuth userid="myId" password="myPassword"/> <sslConfig name="mynode/DefaultSSLSettings"/> </portQnameBindings> </serviceRefs> </com.ibm.etools.webservice.wscbnd:ClientBinding>Refer to this article when you are configuring the ibm-webservicesclient-bnd.xmi deployment descriptor.
Related tasks
View Web services deployment descriptors in the console
Configure the Web services client bindings in the ibm-webservicesclient-bnd.xmi deployment descriptor
Assembling Web services applications
Reference topic