Hello Jerome,
Jerome Louvel a écrit :
> The JsonRepresentation class doesn't act as a WrappedRepresentation.
> Therefore, the JsonRepresentation(Representation) constructor should only be
> used as a facility to parse the enclosed representation into a JSON
> artifact.
> 
> In your case, you need to retrieve the entity identifier on the response
> entity directly.
Ok, I was doing that way, but I was not sure if it was the correct way 
or not, I was hoping the JsonRepresentation could do such thing. It is 
ok for me to get the entity.
Thanks for the reply.

Regards,
Laurent.

-- 
Laurent Rustuel,
Alten contractor for Alcatel-Lucent, Brest

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

Reply via email to