Hi Willem, Thank you for the quick response.
I am using camel 1.6.0 version and are there any issues associated with camel-cxf? if they are any, pls let me know how critical they are. Thanks, Trivedi willem.jiang wrote: > > Hi, > > If you want the set the response into the exchange you need to set the > out message body, just like this. > exchange.getOut().setBody(response); > > BTW, there are lots of camel-cxf refactoring works are done in Camel > 2.0. I don't know which version of camel are you using, can you tell me > the version number and show me the stack trace? > > Willem > > trivedi kumar b wrote: >> Hi, >> >> I am trying to create Webservices using CXF and "PAYLOAD" as dataformat. >> I >> am facing the issue with returning the response from the webservice..i.e >> only with PAYLOAD OPTION. I am keeping the response thing in the >> exchange.getIn().setBody(response).. this is giving me the below error: >> >> Message org.apache.cxf.message.MessageImpl not supported in >> Payload >> mode Routing. >> >> Can someone help me how/what needs to be set in the exchange object for >> PAYLOAD option. >> >> Thanks, >> Trivedi >> >> > > > -- View this message in context: http://www.nabble.com/issue-with-CXF---Payload-tp24206410p24215414.html Sent from the Camel - Users mailing list archive at Nabble.com.