Hi, For the CXF invocation, it need to return not only the invocation result, but also some out parameters, so we use a Array or List to story these results. If you just set the body with a simple object, camel-cxf can wrap it into a List, but if you put a list as a return object, camel will not wrap it.
If you want to return a List object, you need to put the List object into an array or a List. Willem -- View this message in context: http://camel.465427.n5.nabble.com/camel-cxf-return-complex-type-object-problem-tp5746478p5746513.html Sent from the Camel - Users mailing list archive at Nabble.com.