Show TOC Start of Content Area

Procedure documentation Deploying the HelloWorld Web Service Client  Locate the document in its SAP Library structure

Use

To consume the Web service, you have to deploy the Web service proxy and client application on an application server.

Prerequisites

The application server is running.

Procedure

Deploying HelloWorldWEBEAR Project on the Application Server

...

       1.      In the Project Explorer, choose HelloWorldWEBEAR.

       2.      Choose Project Build All.

Note

In the Project menu, the Build Project option is grayed out if the Build Automatically option is enabled in the same menu. In this case, the project is built automatically.

       3.      Choose Window Show View Servers.

       4.      On the Servers tab page, right-click SAP Server, and then choose Add and Remove Projects.

       5.      From the list of available projects, choose HelloWorldWEBEAR, and then choose Add.

       6.      Choose Finish.

       7.      If prompted, log on to the application server as Administrator.

Starting the Web Service Client Application

...

       1.      Open the Web service client application in a Web browser by entering the following address.

http://localhost:<port>/HelloWorldWEB/HelloServlet

You can construct <port> by the formula 5 + NN + 00, where NN is the number of the Java instance.

       2.      Enter first and last name in the provided fields.

       3.      Choose Execute.

Result

The Web service client is on the application server.

 

 

End of Content Area