cancel
Showing results for 
Search instead for 
Did you mean: 

How to call sap function module webservice from java application

Former Member
0 Kudos

Hi

Please provide me the java code to execute sap function module webservice.

Thanks & Regards.

Murali Papana.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member181962
Active Contributor
0 Kudos

Hi,

Your's is a pure java question.

YOu will get better responses in sun.java.com forums.

Regards,

Ravi kanth Talagana

Former Member
0 Kudos

Hi,

You need to create the proxies for the web service and then we can use those proxy classes in java to get the data from RFC via Web Service.

Please go through the below link

[http://help.sap.com/saphelp_nwpi711/helpdata/en/45/100c6be9f87201e10000000a155369/content.htm]

Thanks

former_member181962
Active Contributor
0 Kudos

How do you want to do it?

With SAP PI in between or without SAP PI?

If you wnat to consume a webservice directly from a Java application: check this link:

http://www.codeproject.com/KB/java/edujini_webservice_java.aspx

There, the code is given to cosume a webservice that is developed using ASP.NET but it can be used to cosume any webservice.

Regards,

Ravi Kanth Talagana

Former Member
0 Kudos

Without SAP PI. If you can give more detailed that would great

Thanks & Regards

Murali Papan.

Edited by: Murali Papana on Oct 27, 2009 5:59 AM

Former Member
0 Kudos

Hi,

For creating a web service out of your RFC/Bapi this should be helpful to you

How To Expose BAPI As a Webservise

blogs:

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID1402905850DB01667680058888074804End...

You can call this web service from java application using the jco connecors.

Hope this helps.

Regards,

Siddhesh S.Tawate

Former Member
0 Kudos

Hi Murali,

You can create Java Web Dynpro application to consume the webservice. I think this is the easiest way for you.

For more details go through the below link

http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/

Former Member
0 Kudos

HI,

Already I have created wedservice, but calling is the main problem from java.

And JCO's I am not using .

Thanks & Regards

Murali Papana.

Former Member
0 Kudos

Hi Marni ,

The calling system is non sap, so i have to call thru JAVA only.

Thanks & Regards

Murali Papana

former_member187339
Active Contributor