Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread eggsy84
Also if you have to resort to using JSONP GWT 2.0 has a new JsonpRequestBuilder that wraps up any JSONP request nicely: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html This superceeds the article on GWT Site. On Apr 5, 11:50 pm,

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread Abdullah Shaikh
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

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread eggsy84
I'm not too sure I haven't tested it with https but looking at it you simply specify a URL so surely it will work ;) Eggsy On Apr 6, 3:11 pm, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: Does that mean that I can even call https using JSONP ? - Abdullah On Tue, Apr 6, 2010 at 1:47

Re: Single Origin Policy ByPass With IE8

2010-04-06 Thread lineman78
Yes, it will also inherit any authentication/sessions from the browser. All you need to do is make your servlets support it and inject scripts with the servlet's urls into the page. On Apr 6, 8:11 am, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: Does that mean that I can even call https

Single Origin Policy ByPass With IE8

2010-04-05 Thread powwow
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: and needed to

Re: Single Origin Policy ByPass With IE8

2010-04-05 Thread lineman78
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

Re: Single Origin Policy ByPass With IE8

2010-04-05 Thread Thomas Broyer
On Apr 5, 8: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.