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


Reply via email to