Re: Making a call to more than one server

2009-04-23 Thread Salvador Diaz
There should be no problem pulling data with a RequestBuilder. Have you actually tried that ? I tried and got burned by the SOP. (Sumit Chandel is one of the googlers behind GWT and he just pointed out the SOP pitfall 2 comments above so I'm pretty sure we can trust him) Good day, Salvador

Re: Making a call to more than one server

2009-04-22 Thread CodeMonkey
The Same Origin Policy does not apply to making requests to another domain. It applies to manipulating the properties of another document from a different domain. For example if you had an iframe with document from another domain loaded into it, you won't be able to manipulate the DOM in that

Re: Making a call to more than one server

2009-04-21 Thread eggsy
Hi AnaLena, Also off the back of Dan's article posted above I wrote a similar tutorial on my blog about how to go about JSONP http://eggsylife.blogspot.com/2008/10/gwt-and-cross-site-jsonp-in-j2ee.html Both turorials do however make an assumption that you understand the JSON syntax.

Re: Making a call to more than one server

2009-04-20 Thread Salvador Diaz
Unfortunately, you're limited by the same origin policy: https://developer.mozilla.org/En/Same_origin_policy_for_JavaScript There are techniques to bypass it though but if you have a server backend, your best bet is to make the calls to the other server there. Cheers, Salvador On Apr 20, 7:53 

Re: Making a call to more than one server

2009-04-20 Thread Sumit Chandel
Hi AnaLena, As mentioned in the SOP article, you won't be able to make calls to a server on another domain because of the browser security policies in place. However, there are techniques that allow to workaround this limitation and create mashups that use services in a cross-domain fashion to put

Making a call to more than one server

2009-04-19 Thread AnaLena
Hi, I'm just starting out with GWT and making my way through the various tutorials on the subject. My issue: Can I make a call to a different server than just my native one with the classes/language gwt provides? For example, I interact normally with my server, but want to ask a different server

Re: Making a call to more than one server

2009-04-19 Thread AnaLena
Sorry for the newbie question. After a lot of searching I finally got sent in the right direction. I assume RequestBuilder is what I want? http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/http/client/RequestBuilder.html --~--~-~--~~~---~--~~