You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Adam Landefeld <al...@corda.com> on 2005/03/15 16:29:10 UTC

Http authentication for my Axis client...

Hi All,

I am trying to program my axis client to go through an authenticated 
http proxy server.

I set these properties and am partially successful.

         System.setProperty("http.proxyHost", "proxy");
         System.setProperty("http.proxyPort", "8005");
         System.setProperty("http.proxyUser", "user");
         System.setProperty("http.proxyPassword", "pass");

The host and port are respected every time... however... the username 
and password seem to never be used. I have verified that these creds 
work with the proxy server, but whenever my client runs I get the 
error:

(407)Proxy Authentication Required

What am I doing wrong setting the proxy user and password that is 
screwing this up? Anyone?

Does anyone know of another way to set these credentials for the client?

Thank you, hopefully someone knows... I am not sure anyone even gets my 
messages as I have never had a response of any kind :-)
-Adam