Hello again,
I'm having the same problems when I try to retrieve the java object using the 
same client code on Android (restlet 2.0.10 for android).

The server acknowledged the request:

INFO: 2011-10-23        19:04:46        192.168.1.20    -       -       8111    
GET     /v1/enviroment/objects/TV       -       200     -       0       1       
http://192.168.1.20:8111        Restlet-Framework/2.0.10        - 

When I use this code:

 ClientResource cr = new 
ClientResource("http://192.168.1.20:8111/v1/enviroment/objects/TV";);
 ObjectResource resource = cr.wrap(ObjectResource.class);
 EnvObject object = (EnvObject)resource.retrieveObject();    

And the object variable is always null.
However when I retrieve the xml (the server code is the same as my last post) 
The data arrives to Android.
What is wrong? How Can I find the problem?
Thank you

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2861713

Reply via email to