Thomas
This works for me....
java.util.Properties props = System.getProperties();
props.put("http.proxyHost", "xxx.xxx.xxx.xxx");
props.put("http.proxyPort", "xxxx");
props.put("http.proxyUser", "userId");
props.put("http.proxyPassword", "password");
... before call.invoke()
Terry
-----Original Message-----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: 15 April 2002 15:43
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: Proxy-Authorization
Hello,
How can i access a WebService when i need a Proxy-Authorization with Axis ?
I try to use :
System.getProperties().put("proxySet","true");
System.getProperties().put("http.proxyHost","xx.xx.xx.xxx");
System.getProperties().put("http.proxyPort","xxxx");
String authString = "username:password";
String auth = "Basic " + new sun.misc.BASE64Encoder
().encode(authString.getBytes());
URL url = new URL("http://url.to.webservice/");
URLConnection conn = url.openConnection();
conn.setRequestProperty("Proxy-Authorization", auth);
But there is no way to set a URLConnection to the Call-Objekt, is�n it ?
Please help me ?????
Thomas Langer
GAD - Germany