The code below fails to validate the InstanceRequests defined - here's the exception - I have been staring at it for a couple of hours now but failed to find the problem.
*Mar 7, 2011 9:19:48 AM xxx.shared.request.ApplicationRequestFactory.ContactsService com.google.gwt.requestfactory.shared.InstanceRequest persist()* *SEVERE: Could not find matching method in xxx.server.request.ContactsServiceImpl.* *Possible matches:* * java.lang.String persist(com.google.gdata.data.contacts.ContactEntry )* * * *Mar 7, 2011 9:19:48 AM xxx.deferredgmail.shared.request.ApplicationRequestFactory.ContactsService com.google.gwt.requestfactory.shared.InstanceRequest remove()* *SEVERE: Could not find matching method in xxx.server.request.ContactsServiceImpl.* *Possible matches:* * void remove(com.google.gdata.data.contacts.ContactEntry )* * * * * * **@ProxyForName*(value = "com.google.gdata.data.contacts.ContactEntry", locator = "xxx.deferredgmail.server.request.ContactsServiceImpl") public interface *ContactEntryProxy* extends *EntityProxy* { List<EmailProxy> getEmailAddresses(); NameProxy getName(); NicknameProxy getNickname(); } *@ServiceName*("xxx.server.request.ContactsServiceImpl") public interface *ContactsService* extends *RequestContext* { Request<List<ContactEntryProxy>> getContacts(int offset, int pageLength); InstanceRequest<ContactEntryProxy, String> persist(); InstanceRequest<ContactEntryProxy, Void> remove(); } public class *ContactsServiceImpl* extends *Locator<ContactEntry, String>* { public String *persist*(ContactEntry contactEntry) { String ret = null; (implementation details....) return ret; } public void *remove*(ContactEntry contactEntry) { (implementation details) } @Override public ContactEntry *find*(Class<? extends ContactEntry> clazz, String id) { (implementation details....) } @Override public Class<ContactEntry> *getDomainType*() { (implementation details....) } @Override public String *getId*(ContactEntry contactEntry) { (implementation details....) } @Override public Class<String> *getIdType*() { (implementation details....) } @Override public Long *getVersion*(ContactEntry contactEntry) { (implementation details....) } public static List<ContactEntry> *getContacts*(int startIndex, int maxResults) throws OAuthException, IOException, (implementation details....) } } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.