How do I call a NTLM secured webservice using Camel-CXF?
Environment
- Red Hat JBoss Fuse 6.1.0
Issue
- In my Camel (2.12) flow, I want to call a webservice using Camel-CXF.
- The web service is secured using NTLM.
- I did find out that CXF itself supports NTLM, but I can't find anything on Camel-CXF.
Resolution
You can apply the configuration of CXF client on Camel CXF using the
[1] https://cxf.apache.org/docs/client-http-transport-including-ssl-support.html
[2] http://camel.apache.org/how-to-switch-the-cxf-consumer-between-http-and-https-without-touching-the-spring-configuration.html
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
