Does that mean that I can even call https using JSONP ? - Abdullah
On Tue, Apr 6, 2010 at 1:47 AM, lineman78 <linema...@gmail.com> wrote: > You should switch your project over to use JSONP. I was able to do so > with minimal headaches assuming you can add the capability server > side. I developed a solution based on the code posted here: > > http://www.gwtsite.com/how-to-access-web-services-with-gwt/ > > By using JSONP you will never have to worry about SOP problems on any > browser instead of exploiting what I believe is a security hole in IE8 > because all other browsers consider different ports to violate SOP. I > wouldn't be surprised if this is patched. > > On Apr 5, 12:47 pm, powwow <jimmy.w...@gmail.com> wrote: > > 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 onhttp://127.0.0.1:8888 > > and needed to connect to the rails server which ran onhttp:// > 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<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.