cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service

Former Member
0 Kudos

I just want to know a small thing

We have an approach to build a Java Web Service having JCO code in the classes so that it can call RFC's and pass some data into these RFC from the clients which are using them.

Please let me know whether our approach is correct or not... ???

If anyone has example of the above requirement please send it to me at 7.tarun@gmail.com or tarun_bakshi@keane.com

Thanks

Tarun Bakshi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Cant i do it by a writing a simple java class

which has JCO code also in it..

Whats the problem with that...

My idea is to create a simple java class and

create a web service for this class and then

deploy it on j2EE engine ....

Is my idea wrong ... ?

Former Member
0 Kudos

No. It seems to be ok.

Vito

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Tarun,

You can call RFC by JCO connection from EJB class

and expose as web service.Webdynpro has the RFC Model option you use that also.

Only thing is web Service will take more time when its loading large number of data.

Regards

Suresh

Former Member
0 Kudos

That's fine to use a Web Service to make RFC. A bit suggestion may be to use JRA instead of JCO.

Using JRA you can call function modules and BAPIs in the ABAP backend. Since SAP JRA is closely integrated with the J2EE Application Server you can have some advantages like an easily use of J2EE Services inside the webservice, Transaction Management, etc. I think that more efficiency may be obtained.

Hope this help you.

Vito

Please mark helpful answers