You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Vjacheslav V. Borisov" <sl...@gmail.com> on 2014/07/24 14:57:09 UTC

is it possible to use XSLTJaxbProvider with non JaxbElement? (jax-rs)

Hi All!

Is it possible to use XSLTJaxbProvider with non JaxbElement?
Example I have String with some xml "<root>....</root>"
I don't have jaxb object for it, but want to do server side xslt
transformation in jax-rs service

Re: is it possible to use XSLTJaxbProvider with non JaxbElement? (jax-rs)

Posted by Sergey Beryozkin <sb...@gmail.com>.
On 07/10/14 09:49, Vjacheslav V. Borisov wrote:
> 2014-07-24 18:28 GMT+04:00 Sergey Beryozkin <sb...@gmail.com>:
>
>> Hi
>>
>> Not really, the provider is optimized for working with JAXB.
>> You can register a custom provider for now..., also experiment with CXF
>> XSLTOutInterceptor
>>
>
> Can XSLTOutInterceptor used with jax-rs ?
>
Give it a try please, the interceptor looks quite perfect to me

Cheers, Sergey

Re: is it possible to use XSLTJaxbProvider with non JaxbElement? (jax-rs)

Posted by "Vjacheslav V. Borisov" <sl...@gmail.com>.
2014-07-24 18:28 GMT+04:00 Sergey Beryozkin <sb...@gmail.com>:

> Hi
>
> Not really, the provider is optimized for working with JAXB.
> You can register a custom provider for now..., also experiment with CXF
> XSLTOutInterceptor
>

Can XSLTOutInterceptor used with jax-rs ?

Re: is it possible to use XSLTJaxbProvider with non JaxbElement? (jax-rs)

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi

Not really, the provider is optimized for working with JAXB.
You can register a custom provider for now..., also experiment with CXF 
XSLTOutInterceptor

Cheers, Sergey

On 24/07/14 15:57, Vjacheslav V. Borisov wrote:
> Hi All!
>
> Is it possible to use XSLTJaxbProvider with non JaxbElement?
> Example I have String with some xml "<root>....</root>"
> I don't have jaxb object for it, but want to do server side xslt
> transformation in jax-rs service
>


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com