Re: Calling RSS service in GWT from the server side

2010-06-20 Thread Sripathi Krishnan
Most likely, you have enabled Google App Engine. GAE doesn't allow you to open socket connections, which is why apache httpclient did not work. It does allow URLConnection, which is why your second approach worked. --Sri On 21 June 2010 08:15, AgitoM wrote: > As promised, here is the code tha

Re: Calling RSS service in GWT from the server side

2010-06-20 Thread AgitoM
As promised, here is the code that finally did the trick for me. The key was using the java.net.URL Object. This object does work when compiled on the server side. The code: The relavant imports: import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.ne

Re: Calling RSS service in GWT from the server side

2010-06-18 Thread AgitoM
Managed to solve the problem. Used a different object to connect to YAHOO. Don't know why my first solution didn't work though. I do not have access to my corrected code currently, but will post the right solution here as soon as possible. -- You received this message because you are subscribed

Calling RSS service in GWT from the server side

2010-06-17 Thread AgitoM
Over the past few days I have been working on a small GWT based application which retrieves and displays Weather information from YAHOO RSS in real time. To get information from the YAHOO RSS feed, I am using the HttpClient from the org.apache.commons library. Using this library I attempt to make