<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic calling a web service method within a ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-web-service-method-within-a-abap-program/m-p/9067656#M1703190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We trying to consume external web serivces in the ABAP program. For that we have created client proxies and logical ports in SOAMANAGER.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;If anyone has a sample code, could you please share with me? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2012 21:19:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-10T21:19:30Z</dc:date>
    <item>
      <title>calling a web service method within a ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-web-service-method-within-a-abap-program/m-p/9067656#M1703190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We trying to consume external web serivces in the ABAP program. For that we have created client proxies and logical ports in SOAMANAGER.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;If anyone has a sample code, could you please share with me? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 21:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-web-service-method-within-a-abap-program/m-p/9067656#M1703190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-10T21:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: calling a web service method within a ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-web-service-method-within-a-abap-program/m-p/9067657#M1703191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the following link, if I understood your question correctly it should contain the answer you are after!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sample-code-abap.blogspot.com.au/2009/05/simple-code-consume-web-service-using.html"&gt;http://sample-code-abap.blogspot.com.au/2009/05/simple-code-consume-web-service-using.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 00:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-web-service-method-within-a-abap-program/m-p/9067657#M1703191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T00:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: calling a web service method within a ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-web-service-method-within-a-abap-program/m-p/9067658#M1703192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 18:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-web-service-method-within-a-abap-program/m-p/9067658#M1703192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T18:55:16Z</dc:date>
    </item>
  </channel>
</rss>

