<?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 Re: Passing data through webservices. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868835#M1593604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the below link, it has a simple example which will help you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just search for "Calling a web service in ABAP that validates an email id" and click on the link of saptechnicaldotcom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or try this&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70ehp2/helpdata/EN/1f/93163f9959a808e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70ehp2/helpdata/EN/1f/93163f9959a808e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, for transforming your internal table into XML, you can use the below piece of code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL TRANSFORMATION ID   &lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;   SOURCE root = ITAB &lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;   RESULT XML xml_string. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can pass the XML_STRING as input to the "CREATE_BY_URL_METHOD".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the XML_STRING will need to be in the format that the service can understand, you might have to modify it accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chen K V on Apr 26, 2011 1:04 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chen K V on Apr 26, 2011 1:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2011 07:33:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-26T07:33:26Z</dc:date>
    <item>
      <title>Passing data through webservices.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868831#M1593600</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;I have two doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Can we call a webservice without calling creating an ABAP Proxy?&lt;/P&gt;&lt;P&gt;2. If yes how can i pass my internal table through webservice. &lt;/P&gt;&lt;P&gt;any code snippet or wiki link regarding this will be very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Vikash Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 04:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868831#M1593600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T04:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data through webservices.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868832#M1593601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. No.&lt;/P&gt;&lt;P&gt;2. Try reading some of the blogs, whitepapers and SAP help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 07:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868832#M1593601</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-04-26T07:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data through webservices.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868833#M1593602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to invoke a web service without creating a proxy class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flow is that, you get the WSDL from the service provider. Now you need to consume this service and create &lt;STRONG&gt;components&lt;/STRONG&gt; in your system, through which your system can speak to the service provider. The &lt;STRONG&gt;component&lt;/STRONG&gt; here is invariably an ABAP Client proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, if the same service can be invoked as a "HTTP" call, then you can use use "HTTP_CLIENT*" class and invoke the same service, but here the communication is over HTTP, unlike SOAP incase of web service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 07:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868833#M1593602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T07:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data through webservices.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868834#M1593603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chen for the explaination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use "HTTP_CLIENT*" class and invoke the same service, can i pass an interanl table data through that. I was searching and found that the data can be passed in XML Format. But how can i do that i am unable to understand. Do you have any idea . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;Vikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 07:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868834#M1593603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T07:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data through webservices.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868835#M1593604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the below link, it has a simple example which will help you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just search for "Calling a web service in ABAP that validates an email id" and click on the link of saptechnicaldotcom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or try this&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70ehp2/helpdata/EN/1f/93163f9959a808e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70ehp2/helpdata/EN/1f/93163f9959a808e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, for transforming your internal table into XML, you can use the below piece of code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL TRANSFORMATION ID   &lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;   SOURCE root = ITAB &lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;   RESULT XML xml_string. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can pass the XML_STRING as input to the "CREATE_BY_URL_METHOD".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the XML_STRING will need to be in the format that the service can understand, you might have to modify it accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chen K V on Apr 26, 2011 1:04 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Chen K V on Apr 26, 2011 1:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 07:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-through-webservices/m-p/7868835#M1593604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T07:33:26Z</dc:date>
    </item>
  </channel>
</rss>

