Hi
On 11/02/13 08:27, Henryk Konsek wrote:
I tried to make the function return a simple string :
I'm afraid that CXF is unable to understand how to wrap your "Hello"
string into XML. is there any particular reason you cannot return
JAXB-compliant answer, as I suggested in my previous post? I promise
it works as I wrote :) .
Thanks for a tip, by default, CXF won't wrap String or primitive types,
a custom MessageBodyWriter provider will need to be registered. However,
the initial report about the exception suggests it was some kind of
misconfiguration on the client side, which is tricky to pin point with
the fragments of the code :-),
Richa, I'd like to encourage you to open a JIRA and attach a test
project - or try writing a CXF-based client code without Camel to
confirm it actually works in your case case (and ask relevant questions
on CXF users list if it does not) and move to Camel next - you will
definitely make it work in the end :-)
Thanks, Sergey