Show TOC

 Programming a Web Service Client ApplicationLocate this document in the navigation structure

Purpose

This process describes the basic steps of developing a Web service client application.

Prerequisites

A standalone or deployable proxy is generated.

For more information, see Creating a Deployable Proxy and Creating a Standalone Proxy .

Process Flow
  1. Access the implementation class of the service interface.
     
     

    If you have generated a standalone proxy, the implementation class of the Service Interface is instantiated using the default constructor. Use the implementation class to receive a stub that implements the service endpoint interface (SEI).

    If you have generated a deployable proxy, you must use a JNDI lookup to access the service interface implementation. From the service interface, you have access to the SEI. The SEI contains methods that can be used for client programming.

  2. Create the instance of a logical port.

  3. Invoke the business methods.

    After you get the reference to the Logical Port / SEI, you invoke the business methods.

    Note
    //request a business method
    mcl.businessMethod();