Re: JAXB and JAX-RS under CXF

2010-01-27 Thread Sergey Beryozkin
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

Re: JAXB and JAX-RS under CXF

2010-01-26 Thread Daniel Bimschas
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

Re: JAXB and JAX-RS under CXF

2010-01-22 Thread 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 Subject: Re: JAXB and JAX-RS under CXF Sergey, I'm unsure if that is s

Re: JAXB and JAX-RS under CXF

2010-01-22 Thread Daniel Bimschas
;> 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

Re: JAXB and JAX-RS under CXF

2010-01-22 Thread Sergey Beryozkin
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

Re: JAXB and JAX-RS under CXF

2010-01-22 Thread Daniel Bimschas
..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.

Re: JAXB and JAX-RS under CXF

2010-01-22 Thread Sergey Beryozkin
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

Re: JAXB and JAX-RS under CXF

2010-01-22 Thread Daniel Bimschas
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: > >

Re: JAXB and JAX-RS under CXF

2010-01-22 Thread Sergey Beryozkin
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

Re: JAXB and JAX-RS under CXF

2010-01-22 Thread Daniel Bimschas
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

Re: JAXB and JAX-RS under CXF

2010-01-21 Thread Sergey Beryozkin
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

Re: JAXB and JAX-RS under CXF

2010-01-20 Thread Daniel Bimschas
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 > >

Re: JAXB and JAX-RS under CXF

2010-01-20 Thread Sergey Beryozkin
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

JAXB and JAX-RS under CXF

2010-01-20 Thread Daniel Bimschas
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