I am trying to retrieve serialized classes using Restlet 2.1 with Android as a client and GAE as a server. This is the corresponding code:
ClientResource cr = new ClientResource("http://localhost:8888/mydata");
MyDataResource resource = cr.wrap(MyDataResource.class);
MyData myData = resource.retrieve();
At first I tested this in a separate JSE class and everything worked fine. When I try to run the same in Android, the myData object is NULL. Any ideas?
source
share