Reputation: 275
I am trying to make a remote procedure 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.
Upvotes: 1
Views: 1391
Reputation: 4173
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.
Upvotes: 1