i've solved the bug. there is some confusion in environment variables!!! the correct values are:
System.setProperty( "proxySet", "true" ); System.setProperty( "http.proxyHost", "linuxintra" ); System.setProperty( "http.proxyPort", "8080" ); System.setProperty("http.proxyUser", "xxx"); System.setProperty("http.proxyPassword", "yyy"); many articles written in JavaWorld are in wrong!! please send feedback to this article: http://www.javaworld.com/javaworld/javatips/jw-javatip42.html regards, Nicola ----- Original Message ----- From: "Nicola Muratori" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 26, 2003 10:45 AM Subject: help with proxy > i'm in trouble with proxy authentication in a client generated by WSDL2Java > that > will access to GoogleSearch Web Service. > > I've tried to set the > > System.setProperty( "proxySet", "true" ); > System.setProperty( "proxyHost", "linuxintra" ); > System.setProperty( "proxyPort", "8080" ); > > System.setProperty("http.proxyUserName", "xxx"); > System.setProperty("http.proxyPassword", "yyy"); > > properties but it still won't works.... > > in the Forte For Java 4 environment it catches a HTTP 407 error (proxy auth > required), > but running the same client in a window shell gives me a Connection refused > exception. > > in the first case the request is denied by the proxy, but in the second it > neither reaches the proxy..!!! > > however, the client generated by Systinet WASP Engine (has the same function > that WSDL2Java) > with the SAME properties works.... > > can someone help me???