Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

connecting to a web service

Former Member
0 Kudos

hi,

my question is about connecting to a web service.

lets say there is a web service and has a function .

How can i connect to that web service and run that function for getting the values.

thanks.

2 REPLIES 2

Former Member
0 Kudos

Hi Burc,

After u create a Web service, as u know one URL will be generated for that particular web service.

Now in ur abap program call the URL using the function module call browser.

Try this and get back to me incase of any queries.

Dont forget to reward points if found useful.

Thanks,

Satyesh

athavanraja
Active Contributor
0 Kudos

which version of R/3 you are on.

if you are on ECC6 (or was6.40 or above) you can use the standard webservice framework where you just pass the wsdl url to the tool and it will generate the proxy class for you, which you can use in your program to consume the webservice.

if you on a system between was6.10 to 6.40 you can use class cl_http_client to consume the webservice.

for more on this search for "consuming webservice abap" here in sdn , you will find couple of good blogs on this.

Raja