cancel
Showing results for 
Search instead for 
Did you mean: 

callin a Web Service

Former Member
0 Kudos

Hi Experts...

need HELP...

I am new to Web Services

I am actually trying to call a web service created of a BAPI on ECC 6.2 and I want to use it on a regular HTML page using AJAX.

I went thro' the internet and was using the WSDL URL as a regular WSDL url and was passing the parameters that the WSDL requires and am expecting a XML file but it is giving me an ouptput of the same WSDL file. can you please help me out with this... I dont know where I am going wrong.

Please Help me...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

i'd try to call the webservice's endpoint instead of the WSDL URL. and send the content as HTTP POST body in case you just "url-parametered" the parameters...

anton

Former Member
0 Kudos

Hi Anton,

Thanks for the quick response...

In my case I suppose the end point will be the Function Module, but how do i call the endpoint, can you please explain adn also will that help me in the long run like can i use it regularly in the code to pass the parametes and get the response?

Former Member
0 Kudos

Hi,

What Anton mean is call the url of endpoint not url of abstract wsdl. You can also create endpoint manually in SOAMANAGER and open the "wsdl for endpoint" and copy the url.

Regards,

Gourav

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you Anton and Gourav ... that really helped me adn it worked...

Thanks