Sent: Tuesday, January 26, 2010 10:01 PM
Subject: Re: JAXB and JAX-RS under CXF
Hi Sergey,
thanks for your efforts. The only thing I had to do is to add javax.xml.bind.* packages to the boot delegation classpath of my OSGi
environment. A point I simply didn't think about as most JRE-classes
17:46 schrieb Sergey Beryozkin:
> Excellent, thanks. Please ping the Felix team, and I'll play with this
> project too...
>
> cheers, Sergey
>
> - Original Message - From: "Daniel Bimschas"
>
> To:
> Sent: Friday, January 22, 2010 4:43 PM
> Sub
Excellent, thanks. Please ping the Felix team, and I'll play with this project
too...
cheers, Sergey
- Original Message -
From: "Daniel Bimschas"
To:
Sent: Friday, January 22, 2010 4:43 PM
Subject: Re: JAXB and JAX-RS under CXF
Sergey,
I'm unsure if that is s
;> S.B : what exactly is different ?
>>
>> Just that plain works, and OSGi-based fails because of the errors mentioned
>> above. But I guess that's "misconfiguration".
>>
>>> S.B : yes, it's an OSGI configuration issue. DOSGI can't
Equinox ?
thanks, Sergey
- Original Message -
From: "Daniel Bimschas"
To:
Sent: Friday, January 22, 2010 4:13 PM
Subject: Re: JAXB and JAX-RS under CXF
Damnit. I just changed the Pax-Runner configuration to only use Equinox and now the tests pass, everything seems fin
..At the last resort try DynamicImport...
>
> cheers, Sergey
>
>>
>> Is it using a different JAXB implementation at all? And if yes, is it
>> possible to switch to the implementation included in the JVM?
>>
>> Kind regards,
>> Daniel
>>
>> Am 21.01.
bundle modified for JAXB be supported at runtime as well as to
explicitly annotate beans with @XmlRootElement and friends (that is, to import JAXB packages) then if it is JAX-RS only you can
register a custom (CXF JAXRS) JAXBElementProvider and tell it to use JAXBElement internally and tha
iday, January 22, 2010 3:00 PM
> Subject: Re: JAXB and JAX-RS under CXF
>
>
> Thanks Sergey,
>
> just one more question. I converted a plain (non-OSGi) JAX-RS project to
> DOSGi-based CXF. Now, for some of my JAXB annotated classes I get the error
> message:
>
>
Hi Daniel
please see comments with S.B
thanks, Sergey
- Original Message -
From: "Daniel Bimschas"
To:
Sent: Friday, January 22, 2010 3:00 PM
Subject: Re: JAXB and JAX-RS under CXF
Thanks Sergey,
just one more question. I converted a plain (non-OSGi) JAX-RS projec
orted at
>> runtime as well as to explicitly annotate beans with @XmlRootElement and
>> friends (that is, to import JAXB packages) then if it is JAX-RS only you can
>> register a custom (CXF JAXRS) JAXBElementProvider and tell it to use
>> JAXBElement internally and that
Hi
Please see a comment with S.B
- Original Message -
From: "Daniel Bimschas"
To:
Sent: Wednesday, January 20, 2010 6:07 PM
Subject: Re: JAXB and JAX-RS under CXF
Oh great thing Sergey,
thanks for that answer. I just tried and it works just fine. In fact, documentation
JAXRS) JAXBElementProvider and tell it to use
> JAXBElement internally and that is it...
>
> cheers, Sergey
>
> - Original Message ----- From: "Daniel Bimschas"
>
> To:
> Sent: Wednesday, January 20, 2010 5:07 PM
> Subject: JAXB and JAX-RS under CXF
>
>
t;
To:
Sent: Wednesday, January 20, 2010 5:07 PM
Subject: JAXB and JAX-RS under CXF
Hi list,
following the DOSGi reference [1] I see that it's not possible to use JAXB under JAX-RS but with JAX-WS. Is that correct? And what
is the reason for it?
Kind regards,
Daniel
[1] http://c
Hi list,
following the DOSGi reference [1] I see that it's not possible to use JAXB
under JAX-RS but with JAX-WS. Is that correct? And what is the reason for it?
Kind regards,
Daniel
[1] http://cxf.apache.org/distributed-osgi-reference.html
smime.p7s
Description: S/MIME cryptographic signatur
14 matches
Mail list logo