users@jersey.java.net

[Jersey] Re: Jersey REST - Post JAXB object and file in a single post method

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 22 Feb 2013 17:40:20 +0100

Forewrding to users mailing list.

Marek

On Feb 22, 2013, at 5:11 PM, Barkha Keni <barkha.keni_at_gmail.com> wrote:

> HI All
>
> We have a requirement where i have to allow users to attach files and add XML data in the body(We use REST console). Is it possible to do both operations in a single POST method. I tried using "multipart/mixed" but i get the Unsupported media type" error. Any thoughts?
>
> --
> Thanks,
> Barkha