‎2012 Oct 10 10:19 PM
Hi All,
We trying to consume external web serivces in the ABAP program. For that we have created client proxies and logical ports in SOAMANAGER.
We need to consume 2 web services. First one is for login purpose. We have to get the cookie after calling the first service and pass it on to 2nd service to access the data.
We are using CL_HTTP_CLIENT class methods to call web service. We are not able to find a way to call a particular method in the login web service.
If anyone has a sample code, could you please share with me?
Thanks in advance for your help.
Best Regards,
Dev
‎2012 Oct 11 1:55 AM
Check the following link, if I understood your question correctly it should contain the answer you are after!
http://sample-code-abap.blogspot.com.au/2009/05/simple-code-consume-web-service-using.html
‎2012 Oct 11 1:55 AM
Check the following link, if I understood your question correctly it should contain the answer you are after!
http://sample-code-abap.blogspot.com.au/2009/05/simple-code-consume-web-service-using.html
‎2012 Oct 11 7:55 PM
Hi Dana,
That was really helpful. I am able to call the method. Do you have any sample code for getting the cookie from the response and sending it to the next web serivce call?
Best Regards,
Dev