On Oct 23, 11:58 am, Lane <[EMAIL PROTECTED]> wrote:
> I am getting the following error:
>
> com.google.gwt.user.client.rpc.InvocationException: Unable to initiate
> the asynchronous service invocation -- check the network connection.
>
> when trying to connect to my server from Firefox. It works fine when I
> connect from IE. My code is uncontroversial, I think:
>
> service = (ServiceAsync) GWT.create(Service.class);
> ServiceDefTarget endpoint = (ServiceDefTarget) service;
> endpoint.setServiceEntryPoint("http://mydomain.com");
> service.(do stuff)
>
> This used to work and now it doesn't, but, again, only on Firefox.
>
> Any ideas?
I found the problem. I had the HTML file that rendered the GUI in a
different domain than the servlet. Apparently, on IE that works fine,
but not on Firefox or Chrome. Easy enough to fix.
Lane
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---