<?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 Problem wirh received XML file. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139777#M989859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writting a program which gets from an URL a XML file which is updated daily. For such purpose, I'm using the function HTTP_GET, which is running properly (through a Proxy Server which recognizes by IP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As said before, the function is running properly but I'm not receiving the proper file: sometimes, I get the one from the day before and, somehow, it starts to get the newer one. When I call this file, I'm not using any setting for dates or similar because the daily file is available in the same URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tested the function from a SAP System which acceses the Internet without a proxy and it gets the proper file in every moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the question is: Can the Proxy server being caching the file obtained? If not, have you ever got a similar problem similar to the one I'm describing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More info: I'm using the function HTTP_GET in systems ECC 5.0 and ECC 6.0 in both cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your helping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2008 17:23:50 GMT</pubDate>
    <dc:creator>SantiMoreno</dc:creator>
    <dc:date>2008-07-16T17:23:50Z</dc:date>
    <item>
      <title>Problem wirh received XML file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139777#M989859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writting a program which gets from an URL a XML file which is updated daily. For such purpose, I'm using the function HTTP_GET, which is running properly (through a Proxy Server which recognizes by IP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As said before, the function is running properly but I'm not receiving the proper file: sometimes, I get the one from the day before and, somehow, it starts to get the newer one. When I call this file, I'm not using any setting for dates or similar because the daily file is available in the same URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tested the function from a SAP System which acceses the Internet without a proxy and it gets the proper file in every moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the question is: Can the Proxy server being caching the file obtained? If not, have you ever got a similar problem similar to the one I'm describing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More info: I'm using the function HTTP_GET in systems ECC 5.0 and ECC 6.0 in both cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your helping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 17:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139777#M989859</guid>
      <dc:creator>SantiMoreno</dc:creator>
      <dc:date>2008-07-16T17:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem wirh received XML file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139778#M989860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i use a similar program using  cl_http_client class (instead of http_get), (communicating via proxy) and dont have the problems you are mentioning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would suggest you to give it a try with this class, as this offers much more flexibility, in setting request headers , form fields, etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 12:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139778#M989860</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2008-07-21T12:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem wirh received XML file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139779#M989861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Durairaj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to follow what you suggest to goal it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I've found the solution of the problem I've got: it was due to the proxy configuration which needed an exception rule to retrieve properly the file I try to download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would the class you suggest overpass this proxy config or should the rule be implemented as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 16:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139779#M989861</guid>
      <dc:creator>SantiMoreno</dc:creator>
      <dc:date>2008-07-22T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem wirh received XML file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139780#M989862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is the xml location is in intranet or extranet? if its intranet then you dont need proxy right? in that case, unless you had activated the proxy settings from sicf-&amp;gt;client-&amp;gt;proxy settings, you dont need to do anything with proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, if the xml is on a extranet (internet) location , you may have to authenticate yourself via the proxy server to reach it , in such a case, this is what you have to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call method cl_http_client=&amp;gt;create
  exporting
    host          = 'www.webservicex.net'
    service       = '80'
    scheme        = '1'
    proxy_host    =  wf_proxy
    proxy_service =  wf_port
  importing
    client        = http_client.

http_client-&amp;gt;propertytype_logon_popup = http_client-&amp;gt;co_disabled.

wf_user = user .
wf_password = password .

call method http_client-&amp;gt;authenticate
  exporting
    proxy_authentication = 'X'
    username             = wf_user
    password             = wf_password.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 05:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-wirh-received-xml-file/m-p/4139780#M989862</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2008-07-23T05:41:16Z</dc:date>
    </item>
  </channel>
</rss>

