Show TOC

Creating the HelloWorld Web ServiceLocate this document in the navigation structure

Use

You use an Enterprise Java Bean (EJB) to expose the Web service endpoint. The Web service prints a Hello, <name> message, where <name> is provided by user input.

Procedure

To develop the Web service, proceed as follows:

  1. In the SAP NetWeaver Developer Studio, you create an EJB Project and an enterprise application project for the Web service. More information: Creating an Enterprise Java Bean Project for the HelloWorld Web Service .

  2. In the EJB Project, you create an EJB Session Bean 3.0 and implement the business logic of the Web service. More information: Creating the Enterprise Java Bean .

  3. You expose the EJB Session Bean 3.0 as a Web service, using the Web service wizard in the SAP NetWeaver Developer Studio. More information: Exposing the Enterprise Java Bean as a Web Service .

  4. You deploy the Web service endpoint on the application server. More information: Deploying the HelloWorld Web Service .