cancel
Showing results for 
Search instead for 
Did you mean: 

Web service development

Former Member
0 Kudos

Hi, all.

Are there any libraries or utilities for fast creation of web service based on bapi in java?

.NET Visual Studio generates a web service based on bapi in 3-4 mouse clicks. So I don't need to write any code during creation. Could anybody suggest a library or technology that creates such webservice in java with the same simplicity as Visual Studio does?

Regards, Sergey.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sergey,

I know that .Net uses SAP R/3 connector so we can do it in 3-4 clicks.

Web Service in NWDS is Java based so we need more efforts than .Net to create the web service

You can follow the following steps:

1. Create web service as usual in J2EE using session bean(EJB)

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/fb/f68656ecfb00418cceef7830bbc86f/content.htm">Creating Web Service</a>

2. The session class will call BAPI using <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d2/561106b8b3bc449f890cddfdc8d3e2/frameset.htm">Jco code</a>

or if your R/3 is WAS 640 and above,

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/37/01a7408f031414e10000000a1550b0/content.htm">ABAP web service</a>

Regards

Smruti

former_member185029
Active Contributor
0 Kudos

Hello,

Why to you want to put efforts on creating java webservices when there is direct facility to expose a BAPI as WebService?

Check <a href="/people/sridhar.k2/blog/2006/09/12/creating-and-exposing-bapi-as-web-service-and-using-it-in-web-dynpro link

Ashu