Tuesday, March 13, 2012

Re: how to test GWT app through a proxy

MyDataService_Proxy is generated by GWT and you can see the generated files by adding "-gen <folder>" to your app's Eclipse run configuration.

The exception you see is thrown in RemoteServiceProxy.doInvoke(...) and simply wraps a possible RequestException. These RequestExceptions can be thrown by RequestBuilder.doSend(..) and are wrappers for JavaScriptExceptions that can be thrown by the browser if it can not do an ajax request using XMLHttpRequest.

All these exceptions are chained together so you should log the whole stack trace to get some more information.

I don't think its an issue in GWT-RPC. Its just that your customer's browser sometimes can't establish a connection to your server through a proxy. Maybe you can ask them to look through their proxy log files to see if something went wrong.

-- J.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate