On Понедельник 24 Август 2015 18:21 SAMT, Sergey Beryozkin <[email protected]> wrote:
> Hi > > You can use InputStream and process it internally as required. > Or may be you can introduce a custom type, say AnyXmlType, that will > have methods such as > .asInputStream(), asType(Class), etc > > and support this type by a custom MessageBodyReader/Writer Thanks Sergey, i added <extraarg>-repMap</extraarg> <extraarg>application/xml=java.io.InputStream</extraarg> and its worked for bout request and response
