Sankar, I suspect that your IIS service may be using NTLMv2 which I believe that HTTPCommons does not support (it only supports NTLMv1). You could try enabling basic authentication within IIS, instead of (or as well as ) integrated authentication. If your service is definately using NTLMv2 - I believe there is commercial software available that can be used to do NTLMv2 authentication (although I have never used it). I'd also recommend setting log4j logging levels to the following, and capturing the trace gerenerate by HTTPCommons in case there is anything else that might be causing a problem. Make sure that the IIS system has enabled challenge response - we had one system here (using NTLMv1) that had challenge response turned off, and took a while to work out that was what was causing the problem (a challenge response was actually sent, but the server would then kill the connection, ignoring the second connection with authentication details from HTTPCommons - pre-emptive authentication should get around this, but our issue was with a proxy server using NTLM authentication).
>>> [EMAIL PROTECTED] 09/15/07 6:42 am >>> Hi All I am currently trying to use AXIS 2-1.3 to consume the .NET Web Services hosted on IIS (with Integrated Windows Security) in java client code (within eclipse). I am getting 'Failure authenticating with NTLM <any realm>@tstsrvnet:80'. I have read various comments/articles on this at: http://people.etango.com/~markm/archives/2005/11/21/using_apache_axis_with_integrated_windows_security.xml http://www.woodwardweb.com/programming/000111.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg18633.html http://people.apache.org/~dims/ ( "How to configure Axis2 to support Basic, NTLM and Proxy ") (this is quite outdated) http://ws.apache.org/axis2/1_0/http-transport.html (just a reference) I had downloaded Axis 1.4 with latest commons http client jar, but still I am getting the same error of 401 UnAuthorized. Please let me have an approach/java sample code/links on how to consume the .NET Web Services hosted on IIS (with Integrated Windows Security) using JAVA. Please let me know the compatible jar files that is needed for the NTLM to work. Thanks and Regards SG ***************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipient(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/ received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is strictly prohibited. The information contained in this email, including any attachment sent with it, may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipient(s), or if you have received this email in error, you are asked to immediately notify the sender by telephone collect on Australia +61 1800 198 175 or by return email. You should also delete this email, and any copies, from your computer system network and destroy any hard copies produced. If not an intended recipient of this email, you must not copy, distribute or take any action(s) that relies on it; any form of disclosure, modification, distribution and/or publication of this email is also prohibited. Although Queensland Health takes all reasonable steps to ensure this email does not contain malicious software, Queensland Health does not accept responsibility for the consequences if any person's computer inadvertently suffers any disruption to services, loss of information, harm or is infected with a virus, other malicious computer programme or code that may occur as a consequence of receiving this email. Unless stated otherwise, this email represents only the views of the sender and not the views of the Queensland Government. ****************************************************************
