+

Search Tips   |   Advanced Search

ibm-webservicesclient-bnd.xmi assembly properties for JAX-RPC applications


The ibm-webservicesclient-bnd.xmi deployment descriptor file contains information for the Web services run time that is WebSphere product-specific. This deployment descriptor file is used with JAX-RPC Web services. This binding file is not applicable for JAX-WS Web services.

Configure deployment descriptors with assembly tools provided with WAS. Read about configuring the JAX-RPC Web services client bindings in the ibm-webservicesclient-bnd.xmi deployment descriptor to learn more about configuring this deployment descriptor.

Assembly properties

The following user-definable assembly properties are supported:

 

A bindings file example

The following example demonstrates 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 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>





 

Related tasks


View Web services deployment descriptors in the admin console
Set the JAX-RPC Web services client bindings in the ibm-webservicesclient-bnd.xmi deployment descriptor
Assembling Web services applications

 

Related


WSDL2Java command for JAX-RPC applications