Re: Getting error while marshalling: class org.apache.cxf.message.MessageContentsList nor any of its super class is known to this context.

2013-09-23 Thread Willem jiang
The request object is put into MesssageContentList as the invocation parameter. If you want to marshal it, you can right a custom processor to extract the Object from the List just like this. List list = exchange.getIn().getBody(List.class); Object request = list.getIndex(0); exchange.getOut().se

Re: Getting error while marshalling: class org.apache.cxf.message.MessageContentsList nor any of its super class is known to this context.

2013-09-23 Thread Claus Ibsen
Add after the ${body[0]} To grab the data out of the CXF MessageContextList holder object On Mon, Sep 23, 2013 at 1:15 PM, vsmahesh wrote: > Hi all, > When I am trying to marshall incoming POJO in cxf .I am getting the *class > org.apache.cxf.message.MessageContentsList nor any of its super c

Getting error while marshalling: class org.apache.cxf.message.MessageContentsList nor any of its super class is known to this context.

2013-09-23 Thread vsmahesh
Hi all, When I am trying to marshall incoming POJO in cxf .I am getting the *class org.apache.cxf.message.MessageContentsList nor any of its super class is known to this context.* error. My camel Route is like this, http://camel.apache.org/schema/spring";>