How to create web-service using NW AS Java without SAP Gateway?

1.1k views Asked by At

I have a remote access to SAP AS Java and I want to create and publish Web services using NWDS 7.3 or Eclipse Juno using EJB projects. But I want to create Web services without SAP Gateway or ABAP. Is it possible?

2

There are 2 answers

0
Suncatcher On

You DO NOT need SAP Gateway to create web-services.
Here are the steps you need to perform to create WS in AS Java from an existing Java Bean (which should be created in advance):

  1. In the Package Explorer select Web-services >> Create Web Service in context menu
  2. Move slider to the lowest button Develop service
  3. Select proper SAP Server
  4. Select endpoint if needed. For the first time you can select No endpoint
  5. Finish.

After you deploy your service it will be visible in WS Navigator

Enjoy!

P.S. Detailed manuals are here and here.

0
tdrury On

NW 7.3+ supports JEE 5 web services. Use @WebService, @WebMethod, etc. on your classes, pack them in a war, and deploy.