Hi

If it is JAXRS that you use then you can use an XmlBeans provider :
http://cwiki.apache.org/CXF20DOC/jax-rs.html#JAX-RS-XMLBeans

alternatively you can try to use CXF org.apache.cxf.xmlbeans.XmlBeansDataBinding
through JAXRS DataBindingProvider :

<jaxrs:server address="/">

<jaxrs:serviceBeans>
<ref bean="serviceBean"/>
</jaxrs:serviceBeans>

<jaxrs:dataBinding>
<bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding"/>
</jaxrs:dataBinding>
</jaxrs:server>

please try both options and see which one works better for you
Sergey

-----Original Message-----
From: Yong-Loh [mailto:[email protected]]
Sent: Thu 1/7/2010 1:42 AM
To: [email protected]
Subject: CXF with XMLBeans
 

Hi,

We are using CXF for creating RESTful webservices and XML beans for data
binding. How do we say CXF to use XML beans for data binding?

Any sample code (using CXF with XML Beans) will be of great help.

Thanks & Regards,
Yong-Loh
-- 
View this message in context: 
http://old.nabble.com/CXF-with-XMLBeans-tp27055518p27055518.html
Sent from the cxf-user mailing list archive at Nabble.com.


Reply via email to