dilipmathi
dilipmathi
Branch Unspecified
01 Feb 2012

No message body reader found for request class in apache CXF

I am trying to run the CXF-Rest Services in Jboss6. Application was deployed successfully , when i try to run i am getting following exception

No message body reader found for request class UpcLineOfBusinessEntity

Based on google i understand that we need to configure JAXB Databinding in CXF XML file. So i added the following line in my cxf.xml

<bean id="jaxbProvider" class="org.apache.cxf.jaxrs.provider.JAXBElementProvider"> <property name="jaxbElementClassNames"> <list> <value> com.tecnotree.upc.entities.UpcLineOfBusinessEntity </value> </list> </property </bean> 

But it throwing PropertyNotFoundException jaxbElementClassNames . I dont know how to do it. Please show me the way.
hackerboy

hackerboy

Branch Unspecified
01 Feb 2012
Hey , i am also using apache CXF in my android project. Could you provide me some useful links of tutorials on the same ??

Share this content on your social channels -

Only logged in users can reply.