CrazyEngineers
  • No message body reader found for request class in apache CXF

    dilipmathi

    Member

    Updated: Oct 26, 2024
    Views: 1.2K
    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.
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • hackerboy

    MemberFeb 1, 2012

    Hey , i am also using apache CXF in my android project. Could you provide me some useful links of tutorials on the same ??
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register