Hi I recently upgraded to GWT 2.0 along with GXT 2.1. My application was working properly back at GWT 1.7, and now it mostly works fine with 2.0. But there is a problem with web requests and responses I can't figure out.
When run in hosted mode and debugging in Java with Eclipse everything is fine. My GWT app communicates with the server from Firefox with no problems. However once I compile the app into javascript and run it from within Firefox or Chrome, none of my requests appear to be making it to the server (which is IIS). However if I use IE 7 the javascript compiled code works just fine. When I'm debugging with Firebug I don't see any of my httprequests going out to the server, and all responses come back with an empty string from Response.getText(). My code which sends the HTTP POST looks like this: RequestBuilder builder = new RequestBuilder( RequestBuilder.POST, INVOKE_URL); builder.setHeader("Content-Type", "application/x-www-form- urlencoded; charset=UTF-8"); WebResponseRequest invoke = new WebResponseRequest(callback); request = builder.sendRequest( buildRequestData(method, parameters), invoke); public void callback(Request req, Response resp) { String str = resp.getText(); if (str.isEmpty()) throw new Exception("no response data"); ... } Any ideas of what maybe wrong here? -- 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.