Hi there,
Ok lets take it step by step.
Can you show us your client side RPC interface classes.
You should have something like the following:
-------
package com.company.client.rpc;
import java.util.List;
import com.company.client.dto.PupilDTO;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("teachers")
public interface TeacherService extends RemoteService
{
public List<PupilDTO> getPupils(Integer teacherId);
}
-----
package com.company.client.rpc;
import java.util.List;
import com.company.client.dto.PupilDTO;
import com.google.gwt.user.client.rpc.AsyncCallback;
public interface TeacherServiceAsync
{
public void getPupils(Integer teacherId,
AsyncCallback<List<PupilDTO>> callback);
}
----
Take not of the @RemoteServiceRelativePath("teachers") thats very
important. Do you have this?
Eggsy
On Apr 7, 4:15 pm, Cryssyenddo <[email protected]> wrote:
> Anyone? please? i need this to work...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---