Show TOC Start of Content Area

Process documentation Programming a Web Service Client Application Locate the document in its SAP Library 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.

 

This graphic is explained in the accompanying text

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.

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).

       2.      Create the instance of a logical port.

This graphic is explained in the accompanying text

 

       3.      Invoke the business methods.

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

This graphic is explained in the accompanying text

//request a business method

mcl.businessMethod();

 

End of Content Area