[Version 5.0.2 and later]Developing Web services clients based on Web Services for J2EE

Before you begin

This topic explains how to develop a Web services client based on the Web Services for Java 2 platform, Enterprise Edition (J2EE) specification.

For a Java application to act as Web service client, a mapping between the Web Services Description Language (WSDL) file and the Java application must exist. The mapping is defined by the Java API for XML-based RPC (JAX-RPC) specification. You can use a Java component to implement a Web service by specifying the component's interface and binding information in the WSDL file and designing the application server infrastructure to accept the service request. This entire process encompassed is based on the Web Services for J2EE specification.

Before you begin this task, locate the Web Services Description Language (WSDL) file that defines the Web service to access.

Why and when to perform this task

To create the client code and artifacts that enable the application client to access a Web service:

Steps for this task

  1. Develop client bindings from a WSDL file.
    The client-side bindings and deployment descriptors are generated.
  2. Complete the client implementation.
  3. (Optional) Assemble a Web services-enabled client Java archive (JAR) file.
    Complete this step if you are developing a managed client that runs in the J2EE client container.
  4. (Optional) Assemble a Web services-enabled client Web archive (WAR) file.
    Complete this step if you are developing a managed client that runs in the J2EE client container.
  5. (Optional) Configure the webservicesclient.xml deployment descriptor.
    Complete this step if you are developing a managed client that runs in the J2EE client container.
  6. (Optional) Configure the ibm-webservicesclient-bnd.xmi deployment descriptor.
    Complete this step if you are deploying a managed client that runs in the J2EE client container and you want to override the default client settings. See ibm-webservicesclient-bnd.xmi assembly properties for more information about the ibm-webservicesclient-bnd.xmi deployment descriptor.
  7. Test the Web services-enabled client application.

Results

You have created and tested a Web services client application. For step-by-step information see Example: Developing Web services clients based on Web Services for J2EE.

Related concepts
Web services
Related tasks
Implementing Web services based on Web Services for J2EE
Developing Web services based on Web Services for J2EE
Related reference
Example: Developing Web services clients based on Web Services for J2EE
Artifacts used to develop Web services based on Web Services for J2EE
ibm-webservices-bnd.xmi assembly properties



Searchable topic ID:   twbs_devwbsclient
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/twbs_devwbsclient.html

Library | Support | Terms of Use | Feedback