axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saminda Abeyruwan <sami...@opensource.lk>
Subject Re: "No credentials available for NTLM"
Date Wed, 04 Jan 2006 13:42:59 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please post your client code, So we can simulate it here.

Thank you

Saminda

Serg Nesterenko wrote:
> 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".
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDu9DjYmklbLuW6wYRAoyDAKDP0ndMvTZq05PQgoqgqVXx034/+ACfRbSB
hbvYXjQZraoX8GrP3v+autk=
=EaxB
-----END PGP SIGNATURE-----

Mime
View raw message