On Sat, Oct 22, 2011 at 9:58 AM, Gabriel Pulido <gabriel.pulidodetor...@gmail.com> wrote: > > This client when I use the 2.0 restlet library works well and I could use the > object and the representation. > However when I use the 2.1 restlet library the line: > > EnvObject object = (EnvObject)resource.retrieveObject(); > > Object is always null (Although objectXml has the data correct). > So there is any problem in the proxy mechanism that tries to retrieve the > Object. > Do I miss something? this is turning me crazy :)
Do you have some server logs? Turn on fine logging and see what happens on the server. There should be two requests and maybe the second one failed. --Alex Milowski ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2864513