Hi Georg,

I get it. Actually, the client does not send an XML representation, but a
text one (as shows the content type). I wonder how you generate the
representation from "register.processXml(registration)".
If your client side also relies on a Restlet client, you can send your
memberDto directly and let the XStream converter serialize it into XML
clientResource.post(memberDto);

Best regards,
Thierry Boileau


Hello Thierry,
>
> thanks for your quick reply. Unfortunately, that did not solve the problem.
> Btw., "xml" is only a shorthand for value="xml", when your Annotation has
> only a single attribute (see attached code completion screenshot).
>
> content-type remains text/plain
>
> Georg.
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2754397

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

Reply via email to