Show TOC Start of Content Area

Procedure documentation Creating Standalone Proxies

Use

A standalone proxy can be executed without the J2EE engine.

Procedure

To create a standalone proxy, proceed as follows:

Choose New...

       1.      In the Client Explorer of the Enterprise Services perspective, choose File New Project Enterprise Services Standalone Proxy Project.

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

       3.      Choose Next, and then Finish.

       4.      Position the cursor on the project name and choose New Client Consumer Collection from the context menu. Enter the required data.

The consumer collection is added to the Consumers node of the project.

       5.      Select the consumer collection and choose New Consumer.

       6.      Choose a WSDL source, either the local file system or an URL.

       7.      Choose Next.

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

       9.      Choose Finish.

   10.      If necessary, configure the proxy.

   11.      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 Service Explorer in the Enterprise Services perspective.

Note

For standalone proxies, user authentication is executed in the client program. For more information, see Security Configuration.

 

See also:

Web Service Client Programming Model

 

End of Content Area