Unable to initiate the asynchronous service invocation
I am trying to make a remote proc开发者_StackOverflowedure call of GWT RPC service. I get "Unable to initiate the asynchronous service invocation -- check the network connection.", but I don't have problem with connection. The application runs in web mode in IE7 (in hosted mode it runs OK).
Anyone knows how to solve this problem? Thanks in advance.
That InvocationException
is thrown by RemoteServiceProxy
when it is unable to send the XHR. The exception's getCause()
should have additional information about why the underlying RequestBuilder
was unable to send the request. The most common reason for not being able to fire the XHR is due to violating the same-origin policy.
精彩评论