PDA

View Full Version : HTTP Request



waltub
17 Jun 2008, 7:59 PM
How can i make a call to third party server i.e http://www.google.co.id? I have tried with RequestBuilder, but it seems violates the same-origin security restriction.

gslender
17 Jun 2008, 11:44 PM
This is really a GWT question, and I believe it can be done, using IFRAME's but unfortunately is out of scope for GXT forums...

EvilTed
11 Aug 2008, 12:42 PM
Actually it is not.
Ext-JS and Gwt-Ext provide a ScriptTagProxy class to use instead of HttpProxy.

You will not be able to retrieve JSON from any server outside the domain of your server without this.
I checked the source and we don't appear to have this support yet, but it's something I need ASAP.

http://en.wikipedia.org/wiki/Same_origin_policy

Cheers

ET

gslender
11 Aug 2008, 1:20 PM
SVN has ScriptTagProxy - so it will be release soon