[Version 5.0.2 and later]Configuring Web service client bindings

When a Web service application is deployed into WebSphere Application Server, an instance is created for each application or module. The instance contains deployment information for the Web module or enterprise JavaBean (EJB) module, including client bindings.

Before you begin

Deploy the Web service into WebSphere Application Server.

To complete this task, you need to know the topology of the URL endpoint address of the Web services servers and which Web service the client depends upon. You can view the deployment descriptors in the administrative console to find topology information. See the article View Web services server deployment descriptors for more information.

Why and when to perform this task

The client bindings define the Web Services Description Language (WSDL) file name and preferred ports. The relative path of a Web service in a module is specified within a compatible WSDL file that contains the actual URL to be used for requests. The address is only needed if the original WSDL file did not contain a URL, or when a different address is needed. For a service endpoint with multiple ports, you need to define an alternative WSDL file name.

The following steps describe how to edit bindings for a Web service after these bindings are deployed on a server. When one Web service communicates with another Web service, you must configure the client bindings to access the downstream Web service.

Steps for this task

  1. Open the administrative console.
  2. Click Applications > Enterprise Applications > application_instance > Web Modules > module_instance > Web Services Client Bindings.

    For EJB modules, click Applications > Enterprise Applications > application_instance > EJB Modules > module_instance > Web Services Client Bindings.

  3. Find the Web service that you want to update.

    The Web services are listed in the Web Service field.

  4. Enter a WSDL file name relative to the module in the WSDL file name field.

Results

Your Web service client bindings are configured.

What to do next

Publish WSDL zip files..

Related tasks
Related reference
Default port mapping definitions collection[Version 5.0.2]
Default port type mapping properties settings[Version 5.0.2]



Searchable topic ID:   twbs_clientbindings
Last updated: Jun 21, 2007 4:12:58 PM CDT    WebSphere Application Server Express, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/twbs_clientbindings.html

Library | Support | Terms of Use | Feedback