Hello servicemix guys, I would like to ask you about help with passing Windows credentials (by NTLM protocol) from client (servicemix) to Sharepoint (server) through web service (WS). WS is created by Sharepoint. I do not searching for solution, where you type NTLM user and password, I wanr to CXF do the whole thing.
I created simple Java bundle (WS client) and deploy it to servicemix and get "401: Unauthorized". So I move to standalone Java. Create same WS client program with same dependencies as on servicemix (= CXF WS client). And I was able to successfully pass Windows credentials. Simple standalone Java program, that works (just run by java -jar command from cmd): It is just that simple. No magic, no NTLM specifying and works nicely. But when this code use in my bundle, deploy it and run, I get this exception: Whole stacktrace: Versions of software servicemix: 5.0.0 - Apache ActiveMQ 5.9.0 - Apache Camel 2.12.3 - Apache CXF 2.7.10 - Apache Karaf 2.3.4 OS: Windows 7 Enterprise Version 6.1 (build 7601: Service Pack 1) JVM: java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode) I tried to find answer everywhere possible, with no luck. I found similar question here from year 2011 but without answer. I found some topics too, but that are not suitable to my problem. Would someone please provide a pointer? Is it even possible to use NTLM in servicemix (camel/cxf) in the fisrt place? Hope this topic found other users interesting. Regards Ing. Martin Prusa -- View this message in context: http://servicemix.396122.n5.nabble.com/Passing-credentials-by-NTLM-protocol-during-connecting-to-Sharepoint-web-service-tp5721375.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
