04-11-2006 4:09 PM
Hi,
I would like to know how to call a web service from ABAP. Version is 4.6c. Any help will be greatly appreciated.
Thank you,
Rekha
04-11-2006 4:11 PM
04-11-2006 4:14 PM
Hi,
Have a look at these demo programs;
saphtml_demo1
saphtml_events_demo
rsdemo_html_viewer
These Programs are available in 4.6c and please let me know if it helps you ; is it the same what u looking for.
Hope it helps you
Mark Helpful answers
Regards,
Manoj B Gupta
Message was edited by: Manoj Gupta
04-11-2006 4:14 PM
Hi,
This version cannot be supported the required service.
regs.
Rakesh
04-11-2006 4:18 PM
Rekha
u can check below
http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
if you are on was 6.40 check out the following weblog.
/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
you can also other approach i have used in the following weblog.
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
Please refer the following weblog by Thomas Jung. It should give a fair idea of what needs to be done. Other blogs talk about the related topics.
/people/thomas.jung3/blog/2005/01/05/develop-a-web-service-that-sends-an-email--in-abap
/people/thomas.jung3/blog/2005/05/13/calling-webservices-from-abap-via-https
i think this would be helpful for u
Regards
naveen
its simple in WAS6.40
the steps involved.
1. create a client proxy using the wsdl file.
2. create a program to execute the client proxy.
both these steps are explained well in the weblog by Thomas Jung.
/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
Read the weblog from subheading Release 640
If you have problem in understanding the steps do let us know.
04-12-2006 7:24 AM
to consume a webservice from Version 4.6C is possible.
unlike in WAS6.40 in 4.6c you have to manually (or using external tools) create a soap request message in xml format.
then using FM HTTP_POST OR HTTP_GET you can post this soap request over http and get the result back.
check out the following weblog where i have used cl_http_client, just replace the usage of cl_http_client with http_post ( if you need help on that do let me know)
(i am not sure whether cl_http_client class exists in 4.6C)
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
Regards
Raja
04-12-2006 7:26 AM
check out demo prgrams on the usage of HTTP_POST/HTTP_GET FMs
se38,
RSHTTP*
Regards
Raja
03-23-2009 10:56 AM
Hi Raja,
I have problems sending the parameters via http_post and http_put_component on 4.6c. It works fine if I use http_get, but once I switch to http_put_component or th http_post, the parameters are not received by the web server. I also specify the REQUEST_ENTITY_BODY_LENGTH parameter. Do you have any idea?
Regards
Mischa