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,
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
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
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
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
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
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.