hi
i am seeing below error while running the rest request from postman

JAXBException occurred : unexpected element (uri:"", local:"ProjectName").
Expected elements are <{http:/xxx.xx.com/xxx/xxx/schema/v1}Project>,<{http:/
xxx.xx.com/xxx/xxx/schema/v1}Subproject>


my corresponding spring configuration:

<bean id="fw.restEndpointParent"
class="org.apache.cxf.jaxrs.JAXRSServerFactoryBean">
        <property name="bus" ref="fw_restServerBus" />
        <property name="extensionMappings">
            <map>
                <entry key="json" value="application/json" />
                <entry key="xml" value="application/xml" />
            </map>
        </property>
        <property name="providers">
            <list>
                <bean
class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider" />
            </list>
        </property>

    </bean>

 it used to work fine with the CXF 2.7.8 and jackson 1.9.13

Not sure what could be the issue here
would appreciate any help or pointers with respect to this



-- 
Thanks
Kulbhusan

Reply via email to