So you did use AuthorizationPolicy like this?
SERVICE_PROXY proxy = ...
Client client = ClientProxy.getClient(proxy);
HTTPConduit http = (HTTPConduit) client.getConduit();
AuthorizationPolicy policy = new AuthorizationPolicy();
policy.setUserName(NAME);
policy.setPassword(PASS);
http.setAuthorization(policy);
HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
httpClientPolicy.setConnectionTimeout(30000);
httpClientPolicy.setAllowChunking(false);
http.setClient(httpClientPolicy);
Maybe you can try sping configuration I show you earlier..
Authenticator.setDefault(..) works for me but I found spring more elegant.
But I'm still struggling. Can somebody help me with wlsdLocation, and http
authentication when downloading WSDL??? Conduit works just with invoking
methods..
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-and-NTLM-on-Java-6-tp4263002p4263107.html
Sent from the cxf-user mailing list archive at Nabble.com.