On Feb 22, 2013, at 11:29 AM, allam-di <[email protected]> wrote:

> I would like to implement a new data binding for
> serialization/deserialization of messages in XML format.
> How I can avoid the actual serialization/deserialization in JAXB (the
> default data binding for cxf) 
> and integrate to cxf my new one?

You would need to write an implementation of 
org.apache.cxf.databinding.DataBinding (or subclass the AbstractDataBinding 
object) and implement the various readers and writers.   To then use it, you 
can configure it in via spring and such or use the 
@org.apache.cxf.annotations.DataBinding annotation on your implementation.

You could look at the JIBX or XmlBeans data bindings as a start.  They are a 
bit simpler than the JAXB and Aegis data bindings.

Dan


> 
> Regards,
> 
> Diana
> 
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/How-to-integrate-a-new-data-binding-to-cxf-tp5723590.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to