
To consume the Web service, you have to deploy the Web service proxy and client application on an application server.
The application server is running.
Deploying HelloWorldWEBEAR Project on the Application Server
In the Project Explorer , choose HelloWorldWEBEAR .
Choose .
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.
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 .
The Web service client is on the application server.