camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Smith-John <>
Subject cxf response
Date Mon, 25 Feb 2013 14:45:47 GMT

I have a route that looks like
Processor() {
(here I do some app logic)

The myBean just returns a string.

The wsdl of the cxf endpoint specifies the response with 
<xs:complexType name="Response"><xs:sequence><xs:element minOccurs="0"
name="return" type="xs:string"/></xs:sequence></xs:complexType>

So, the response should look like 

How do I reach this?
Of course I can add an other bean after the myBean to the route that adds
the needed xml parts around the reponse. But can't this be done by camel?  

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message