Fadi M. Maali wrote: > I was able to connect to a site using java.net.URL after setting the > proxy using System.setProperty() . But I am getting a "HTTP/1.1 407 > Proxy Authentication Required" response when I am trying to use > HttpClient.
Your proxy is probably configured to require NTLM authentication. Sun JDK on Windows does that automatically, using the Windows login credentials. HttpClient cannot do that. http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedNTLMQuestions#head-6176b4c53057743b8762e7505d05d36a34a0446a http://hc.apache.org/httpclient-3.x/authentication.html hope this helps, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
