I am attempting to test an asynchronous interface within a GWTTestCase
where the implementation connects to an external tomcat server.  I get

com.google.gwt.user.client.rpc.InvocationException: Unable to initiate
the asynchronous service invocation -- check the network connection

Here is how I am setting up the implementation.

final GetWebsiteDataAsync getAsynchronousInterface=
(GetWebsiteDataAsync) WT.create(GetWebsiteData.class);

ServiceDefTarget getServiceDef = (ServiceDefTarget)
getAsynchronousInterface;

getServiceDef.setServiceEntryPoint(http://externalHost:8080/
pathtoservlet);

The Tomcat server is definitely up, and the Asynchronous calls work
fine when running within a GWT application on a web browser.

Accessing http://externalHost:8080/pathtoservlet directly from a web
browser triggers an exception within Tomcat confirming the entry point
is set correctly.

What am I missing or is this just not possible?



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to