Show TOC Start of Content Area

Procedure documentation Creating a Standalone Proxy  Locate the document in its SAP Library structure

Use

A standalone proxy can be executed without the J2EE engine. For more information, refer to the section Deployable Versus Standalone Proxies.

Procedure

To create a standalone proxy, proceed as follows:

Choose New...

       1.      In the Client Explorer in the Web Service Perspective, choose File New Project Web Services Standalone Proxy Project.

       2.      In the dialog box that appears, enter the name of the proxy project.

       3.      Choose Next, then Finish.

Caution

In one proxy project, no more than 20 Web service proxies can be created due to operation system limitations.

       4.      Position the cursor on the project name and choose New Client Proxy Definition in the context menu. Enter the required data.

Choose Generate JAX-RPC Proxy if additional RPC methods are to be generated. You can use these for access to a service endpoint interface (SEI).

This graphic is explained in the accompanying text

       5.      Choose Next. In the screen that appears, choose a WSDL file, either from the local file system or from the UDDI Registry. Select UDDI to call the UDDI client. On the UDDI client search page, you can search for a WSDL, either for a tModel or for a business service. For more information, see Creating a Client from a tModel, Business Service, or Entity.

       6.      In the dialog box that appears, change the name of the displayed package, if required. In the WSDL document, types are assigned to namespaces. The namespaces are assigned to packages. The names can be changed.

       7.      Choose Finish. The logical port, service interface, and WSDL document all appear in the Client Explorer in the Web Service Perspective.

       8.      If necessary, configure the logical port.

       9.      Program your application using the service endpoint interface (SEI).

When programming a client application, you receive a stub that implements the service endpoint interface through the implementation class of the service interfaces.

Transfer the Web Service Client API to the Java project class path that contains the client application. You can also add the Client API JAR file from the context menu of the Java Explorer in the Web Service perspective.

Note

For standalone proxies, user authentication is executed in the client program. For more information, refer to the section Security Protocol.

 

See also:

You will find more procedures for creating a standalone proxy in the following sections:

Web Service Navigator

Web Service Homepage

Web Services Container Service Administration

UDDI

End of Content Area