开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜