Hey Terry...
Sorry, but this don�t works for me....
With Apache SOAP i can use :
SOAPHTTPConnection connection = new SOAPHTTPConnection();
connection.setProxyHost("xxx.xxx.xxx.xxx");
connection.setProxyPort(xxxx.);
connection.setProxyUserName("username");
connection.setProxyPassword("password");
Call call = new Call ();
call.setSOAPTransport(connection);
....and there is no Problem...
But with AXIS there is no SOAPHTTPConnection and the Call-Objekt does not
have a method like "setSOAPTransport"
Can anybody help me ?
Greeting
Thomas
Bitte antworten an [EMAIL PROTECTED]
An: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Kopie:
Thema: RE: Proxy-Authorization
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