Deploying the HelloWorld Web Service Client
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
-
In the Project Explorer , choose HelloWorldWEBEAR .
-
Choose .
-
Choose .
-
On the Servers tab page, right-click SAP Server , and then choose Add and Remove Projects .
-
From the list of available projects, choose HelloWorldWEBEAR , and then choose Add .
-
Choose Finish .
-
If prompted, log on to the application server as Administrator.
Starting the Web Service Client Application
-
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.
-
Enter first and last name in the provided fields.
-
Choose Execute .
Result
The Web service client is on the application server.

