Hi,

I have a route that looks like
from("cxf:cxfEndpoint?wsdlURL&dataFormat=PAYLOAD").unmarshal(jaxb).process(new
Processor() {
(here I do some app logic)
}).to("bean:myBean");

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 
   <soapenv:Body>
      <sis:invokeResponse>
         <--Optional:-->
         <return>?</return>
      </sis:invokeResponse>
   </soapenv:Body>

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: 
http://camel.465427.n5.nabble.com/cxf-response-tp5728106.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to