I never figured out how to do it via CXF, but I once used a workaround by just bypassing SOAP altogether and posting the SOAP XML straight over HTTP instead.
On 19 May 2016 at 13:31, kazvis <varu...@gmail.com> wrote: > Hi , > > i want to call a external SOAP service from camel route. i have imported > corresponding java objects in my project. I am using the CXF component to > call that SOAP service and need to send a username password as a custom > soap > header. so give me the approach. i here by attached the soap header format. > thanks in advance. > > > <soapenv:Header> > <ns:ServiceAuthHeader> > > <ns:UserName>username</ns:UserName> > > <ns:Password>password</ns:Password> > </ns:ServiceAuthHeader> > </soapenv:Header> > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-set-username-password-in-custom-SOAP-header-from-cxf-endpoint-and-camel-route-to-call-externae-tp5782793.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker <boa...@gmail.com>