<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Osat HTTP Get and Weather Forcast</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/dea0734712/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/dea0734712/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/dea0734712/</id><updated>2020-02-27T19:55:00.466000Z</updated><subtitle>Recent posts to Osat HTTP Get and Weather Forcast</subtitle><entry><title>Osat HTTP Get and Weather Forcast</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/dea0734712/?limit=25#c485" rel="alternate"/><published>2020-02-27T19:55:00.466000Z</published><updated>2020-02-27T19:55:00.466000Z</updated><author><name>merlijn</name><uri>https://forge.codesys.com/u/merlijn/</uri></author><id>https://forge.codesys.com1020d1247d64a02da22eee64164c4532283c73cf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Everyone&lt;/p&gt;
&lt;p&gt;I Am experimenting with function blocks ( FB(HTTP_GET) AND FB(YAHOO_WEATHER) in the Oscat library to import  XML data from websites .&lt;br/&gt;
In my case I want to get a weather forecast in XML data&lt;br/&gt;
when I connect to a site used also in the FB YAHOO_WEATHER I will get XML data from  website &lt;a class="" href="http://weather.yahooapis.com/forecastrss" rel="nofollow"&gt;http://weather.yahooapis.com/forecastrss&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What wonders me when I connect to the website &lt;a class="" href="http://xml.buienrader.nl" rel="nofollow"&gt;http://xml.buienrader.nl&lt;/a&gt; I get sometimes a response and sometimes I don't even get connected.&lt;br/&gt;
And I have t o wait for an hour or so to make a successful connection again.&lt;br/&gt;
But when I connect with a browser like Internet explorer I get response on the fly&lt;br/&gt;
I know that that the size of the response is bigger than the response of the site &lt;a class="" href="http://weather.yahooapis.com/forecastrss" rel="nofollow"&gt;http://weather.yahooapis.com/forecastrss&lt;/a&gt;&lt;br/&gt;
and I had to alter the Some FB to make a bigger buffer size possible But never the less this is not the problem ( I Think )&lt;br/&gt;
the maximum buffer-size was limited to 32767 bytes due the use of integers as buffer array indexes &lt;br/&gt;
the buffer size needed for a http response from the url &lt;a class="" href="http://xml.buienrader.nl" rel="nofollow"&gt;http://xml.buienrader.nl&lt;/a&gt; is 42kb&lt;/p&gt;
&lt;p&gt;At this moment I don't have a clue what is coursing the problem&lt;br/&gt;
So if someone has a good idea I'm interested&lt;/p&gt;
&lt;p&gt;Kind Regards&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>