axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serg Nesterenko <nestere...@softwarium.net>
Subject "No credentials available for NTLM"
Date Wed, 04 Jan 2006 12:28:33 GMT
Hello!
I used Axis 2 (0.93).
I try connect to MS Share Point with "Integrated Windows authentication" 
and "Basic authentication (also tried swith off)" on MS Server  2003.

My code contain:
        options.setProperty(Constants.USER_NAME, "msserver\\user");
        options.setProperty(Constants.PASSWORD, "pass");
and
       Authenticator.setDefault(new 
AxisAuthenticator("msserver\\user","user"));

And result:
- Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut'
- ntlm authentication scheme selected
- No credentials available for NTLM <any realm>@msserver:8008

org.apache.axis2.AxisFault: Transport error 401 . Error Message is 
<!DOCTYPE HTML ............
HTTP Error 401.2 - Unauthorized: Access is denied due to server 
configuration.<br>Internet Information Services (IIS)
.................
    at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:265)
    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:93)
    at org.apache.axis2.client.InOutMEPClient.send(InOutMEPClient.java:392)
    at 
org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:154)
    at org.apache.axis2.client.Call.invokeBlocking(Call.java:91)
    at userguide.clients.Client2.main(Client2.java:73)

Why this don't work?
Why i cannot to switch Client to "Basic authentication"?
I not used "Code Generator Wizard".

Mime
View raw message