Is it possible to implements my own databindings class for the endpoint? like: public class MoxyDataBinding extends AbstractDataBinding and add a tag jaxws:dataBinding in the xml file?
Adrien 2012/3/15 Glen Mazza <[email protected]> > Oops--sorry, my bad. I thought that was JAX-WS. I haven't tried this, > and AFAIK CXF hasn't been tested with MOXy yet. If you're using Maven, > step #1 would probably be to exclude the JAXB JARs (whatever listed via mvn > dependency:tree) and include the MOXy ones (which precisely I've just > asked: > https://twitter.com/#!/**glenmazza/status/**180322690211659776<https://twitter.com/#!/glenmazza/status/180322690211659776>). > But there will probably be other hoops to jump through after that, and > quite possibly patches to CXF necessary for it all to work. > > Glen > > > On 03/15/2012 11:35 AM, Adrien DAO-LENA wrote: > >> I'm not sure to understand, the link you past in your previous mail is >> about using jaxrs providers, can I apply that to jaxws? and yes I'm doing >> jaxws. >> Thanks. >> Adrien >> >> 2012/3/15 Glen Mazza<[email protected]> >> >> Are you doing JAX-WS or REST? For JAX-WS: http://cxf.547215.n5.nabble. >>> ** >>> com/How-to-configure-CXF-to-****use-different-** >>> JAXBContextFactory-td5281773.****html<http://cxf.547215.n5.** >>> nabble.com/How-to-configure-**CXF-to-use-different-** >>> JAXBContextFactory-td5281773.**html<http://cxf.547215.n5.nabble.com/How-to-configure-CXF-to-use-different-JAXBContextFactory-td5281773.html> >>> > >>> >>> >>> For REST, I'm looking at it right now myself, I hoping to convert the >>> Jersey MOXy sample (which does work) to CXF by COB if I can. >>> >>> Glen >>> >>> >>> On 03/15/2012 09:40 AM, Adrien DAO-LENA wrote: >>> >>> Hi, >>>> Is it possible to use Moxy as the jaxb impl of CXF? On the moxy >>>> website, I >>>> read that I need to put a jaxb.properties file, I paste it but it does >>>> not >>>> seem to be read by CXF. >>>> Did someone manage to do that? >>>> >>>> >>>> Thank you >>>> Adrien. >>>> >>>> >>>> -- >>> Glen Mazza >>> Talend Community Coders - coders.talend.com >>> blog:www.jroller.com/gmazza >>> >>> >>> > > -- > Glen Mazza > Talend Community Coders - coders.talend.com > blog: www.jroller.com/gmazza > >
