on 09-17-2007 2:23 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.