I think I have found a bug in either Restlet or the Restlet XML-Extension.
When I create a method like this:
@Post
public void Document doSomething(Document doc) {...}
then I get an an "Unsupported Media Type" error when the input Document is
large. For small inputs it works fine.
When I change the method signature to "Document doSomething(String data)"
and then convert the string manually to a Document everything works fine.
--
Best regards
Stefan Bradl
www.s-bradl.eu
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2948003