I'm running gwt-windows-1.5.3 (only version I've ever had installed),
and tomcat 5.5.27
Here's my interfaces:
public interface MyService extends RemoteService {
public MyEvent[] getMyEvents(int num);
public String getSessionIdStr();
}
public interface MyServiceAsync {
public void getMyEvents(int num, AsyncCallback callback);
public void getSessionIdStr(AsyncCallback callback);
}
//in my client impl
myService.getSessionIdStr(sessionIDCallback);
myService.getMyEvents(numOfEvents, myCallback);
Everything worked great while I had just one method in my service (the
getMyEvents()). As soon as I added the getSessionIdStr() for
debugging purposes, I get the IncompatibleRemoteServiceException Could
not locate requested method getSessionIdStr(), etc.
It works fine in the hosted browser. I'm running two different
tomcats, one on my workstation to use with noserver and one on a
remote service. Both throw that exception. I've done total cleans on
everything, recompiled, re-copied everything, restarted tomcat.
Closed browsers, cleared cache, tried firefox and IE. Still gives me
the error. I'm really at a total loss here. Is there a problem with
running two methods in one service? MyEvent is Serializable, and that
portion with my array works great, so I don't think thats the
problem. It was working for weeks. As soon as I added the 2nd method
is gets mad. Is tomcat caching something? Am I forgetting anything
in the gwt.xml realm when adding methods?
Any insight?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---