Override Content-Type using cxf endpoint
Issue
I have created a spring camel route where I use a camel cxf producer endpoint to invoke on a backend SOAP service. By default when I call it sends request header Content-Type=application/soap+xml. I want to override this default behaviour by sending Content-Type=text/xml instead.
Environment
- JBoss Fuse
- 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.