dims 2003/07/06 07:28:29
Modified: java/src/org/apache/axis/transport/http
CommonsHTTPSender.java
Log:
Fix gump failure.
Revision Changes Path
1.17 +2 -2
xml-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java
Index: CommonsHTTPSender.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- CommonsHTTPSender.java 28 Jun 2003 19:15:16 -0000 1.16
+++ CommonsHTTPSender.java 6 Jul 2003 14:28:29 -0000 1.17
@@ -307,7 +307,7 @@
Credentials proxyCred =
new UsernamePasswordCredentials(tcp.getProxyUser(),
tcp.getProxyPassword());
- client.getState().setProxyCredentials(null, proxyCred);
+ client.getState().setProxyCredentials(null, null, proxyCred);
}
int proxyPort = new Integer(tcp.getProxyPort()).intValue();
config.setProxy(tcp.getProxyHost(), proxyPort);
@@ -366,7 +366,7 @@
}
if (userID != null) {
Credentials cred = new UsernamePasswordCredentials(userID, passwd);
- httpClient.getState().setCredentials(null, cred);
+ httpClient.getState().setCredentials(null, null, cred);
// The following 3 lines should NOT be required. But Our
SimpleAxisServer fails
// during all-tests if this is missing.