-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Developers,
I'm using commons-httpclient-3.0 for my project developments. I have a
use case for connect to Axis2 web server through a Squid proxy with
basic authentication. At transport level i handle proxy authentication
as follows, {filtered code}. I have set up the Squid proxy properly and
varified by the Mozilla Firefox browser.
....
HttpClient httpAgent = new HttpClient();
PostMethod postMtd = PostMethod(url.toString());
// i set all other headers and RequestEntiry.
Credentials proxyCred = new UsernamePasswordCredentials(usrName,passwd);
HostConfiguration config = new HostConfiguration();
// i set all proper hostconfig such
httpAgent.getState().setProxyCredentials(AuthScope.ANY, proxyCred);
config.setProxy(proxyHostName, proxyPort);
httpAgent.executeMethod(config, postMethod);
...
Now when i execute this i'm always getting 501.
And when i run the sample code ProxyTunnelDemo.java {configured for my
proxy} i'm getting 403.
Please be kind enough to help me out on this. I've been notified that
the above code *is* working with java 1.5 but not with java 1.4. What am
i doing wrong here.
My JVM is 1.4.2_08_b3 and Ubuntu/Linux.
Thank you
Saminda
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEEmD+YmklbLuW6wYRArFnAJ0bvoPkPYCaXWm1pFICwJ45ofE9XQCgt2Ji
RP2JKADgr1Z9WSsGsyIkp/w=
=UGaG
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]