OMG!  This one nearly killed our project.  When SOP was introduced in
development mode for GWT 2.0 our project screeched to a halt.  We have
a huge application with a GWT front end communicating with a Rails
server doing JSON requests.  We had GWT running on http://127.0.0.1:8888
and needed to connect to the rails server which ran on http://127.0.0.1:3000.
The only difference was the port.  Our application HAD to run in IE
(no Firefox or Chome).   We had hundreds of JSON calls doing GET,
POST, PUT, DELETE all using RequestBuilder to communicate.

We tried ProxyServer scripts to forward urls to the Rails server, but
many were just too basic not being able to handle PUTs, DELETEs, form
uploads, headers and everything else.  Half the calls worked, and half
the calls failed.  We didn't have time to program the perfect
ProxyServer servlet.

We tried all the hacks including the Eclipse built in proxy server,
enabling cross domain communication in IE in the options, lowering
browser security levels, installing and uninstalling software, etc.,
all with no luck.

But we found something that did work for the time being.  Here is a
work around if you need to bypass SOP:  Use IE 8!  We used IE7 and it
didn't work, but IE8 works!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to