users@jersey.java.net

[Jersey] Re: Rest Post Unsupported Media Type

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Tue, 28 Jun 2011 10:22:05 +0200

Hi Peter,

ad 1) the content-type should be set to application/xml rather than just
xml.
          some server log snippet would also be handy to such requests

ad 2) i do not quite understand the question, you are setting the order id
          on the CustOrderResource returned by the sub-locator method
          what else would you want to pass?

~Jakub

On 06/27/2011 08:01 AM, peterwkc wrote:
> I have edit the post to plain text. Thanks for your reply.
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Rest-Post-Unsupported-Media-Type-tp6499271p6519190.html
> Sent from the Jersey mailing list archive at Nabble.com.
>