cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a webservice? Please help!

gopalkrishna_baliga
Participant
0 Kudos

Hi Experts,

I have a SAP function module that pulls all the data from a table. Now this has to be called fom a .Net application. I have exposed this function module as a webservice which has generated a WSDL file.

How do I use this WSDL file in .Net application so that my function module is called?

Kindly help with some steps or documentation.

Sample code will be really appreciated.

Thanks

Gopal

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Baliga,

Go through blogs of Bhavesh and Naveen which talks about calling webservice in a specific condition:

<a href="/people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function Calls From a User Defined Function</a>

<a href="/people/sap.user72/blog/2005/10/20/consumingcalling-webservices-from-databases webservices from DataBases</a>

Also check this help file on Web Services:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9</a>

Regards,

Subhasha Ranjan

Former Member
0 Kudos

This will useful to you....

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

Former Member
0 Kudos

Hi Gopalakrishna,

well, If at all if you have webservice...you can import that werbserivce as External definition in to IR.

How to import:

1) Go to IR and and move to your requied component and there you can see the option called imported objects...select on imported objects where you can give the name and you can select the webservices which you want to use it.

2) Hope you are aware of that a werbservice will have the request and response.

3) Create the mapping program accroding to your requirement.

Hope I am clear.

Please let me know if you have any queries..!

Thanks and Regards,

Chandu.