To consume the Web service, you firstly have to deploy it on an application server. During the deployment, the WSDL document is generated on the application server. At a later stage you use the WSDL document to generate Web service proxy and client application.
● The application server is running.
● The SAP NetWeaver Developer Studio is connected to the application server. More information: Configuring the Application Server in the Developer Studio.
...
1. In the Project Explorer, choose HelloWorldEJBEAR.
2. Choose Project → Build All.
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 HelloWorldEJBEAR, and then choose Add.
6. Choose Finish.
7. If prompted, log on to the application server as Administrator.
The Web service endpoint is on the application server.
Testing the HelloWorld Web Service