hello people, hello axis guru
How configure axis2 ntlm authenticate on local computer?, My computer is not in domain, I am using local account for configuration axis2
List authSchema = new ArrayList();
authSchema.add(HttpTransportProperties.Authenticator.NTLM);
HttpTransportProperties.Authenticator ntlmAuthentication = new HttpTransportProperties.Authenticator();
ntlmAuthentication.setAuthSchemes(authSchema);
ntlmAuthentication.setUsername("mylocalusername"); ntlmAuthentication.setPassword("mylocalpassword"); ntlmAuthentication.setHost("mycomputername"); ntlmAuthentication.setDomain("");
Exception in thread "main" org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:310)