I think you could define a CXF endpoint bean in spring configuration (see this page for an example: http://camel.apache.org/cxf-example.html) and then use it like .to("cxf:bean:yourBeanId")
Stefan On Wed, May 2, 2012 at 4:15 PM, Marco Westermann <marwesterm...@gmx.de> wrote: > Hi, > I try to call an external web service using camel-cxf. I tried it this way > and it works: http://pastebin.com/nNv6MUAt. > > Now I wonder if there is a better way to supply the params to the service. > Do I have to build the request-xml by myself or is there a better way? > > e.g. setting a specific header before calling the cfx-endpoint > > regards, Marco