On 23/07/12 17:52, hom wrote:
Thanks for the quick reply. I added the transformFeature bean, but it seems
that is has no effect.
I am still getting the same message.
This is what I did in the blueprint context:

<blueprint>

   <bean id="providerRoute" class="org.xyz.ProviderRoute"/>

   <bean id="transformFeature"
class="org.apache.cxf.feature.StaxTransformFeature">
     <property name="inTransformElements">
        <map>
           <entry key="DoItRequest"
value="{http://www.xyz.org/types}DoItRequest"/>
        </map>
     </property>
   </bean>
                
  <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint";>
     <routeBuilder ref="providerRoute" />
  </camelContext>
</blueprint>

Did I miss something?

It's a CXF-specific feature so it needs to bound to either a cxfrs:rsServer or jaxrs:endpoint (assuming a camel transport is used), using a "feature" extension.

Cheers, Sergey



--
View this message in context: 
http://camel.465427.n5.nabble.com/CXFRS-does-not-process-JSON-tp5716343p5716352.html
Sent from the Camel - Users mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to