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 WebSphere Application Server. See configuring the ibm-webservicesclient-bnd.xmi deployment descriptor for instructions.
Assembly properties
An attribute of the componentScopedRefs element. When a Web service is implemented by an Enterprise JavaBeans (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.
An attribute of the serviceRefs element. Specifies the 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.
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.
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.
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.
An element of the portQnameBindings element. Authenticates a service client to the service endpoint, independent of the underlying transport that includes, HTTP, HTTPS, and Java Message Service (JMS). Set the user ID and password attributes as needed.
An element of the portQnameBindings element. Specifies the Secure Sockets Layer (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 WebSphere Application Server.
For the z/OS version of this product, some digital certificate and keyring management is required. Refer to Creating Secure Sockets Layer digital certificates and System Authorization Facility keyrings applications to initiate HTTPS requests for more information.
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, you must 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. 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.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.