That article appears to be several years old and in fact, the example code
you refer to explicitly says that it's only tested to work with Java1.1.4
(fairly obsolete by now).

>From that article:
    (Example.java) has only been tested with JDK 1.1.4.

Those property names have changed since then...  It's a Sun/JDK version
support level change, nothing particular to AXIS.  All the info on
java.sun.com when searching for proxyHost seems to reference http.proxyHost
now, so I would look there for such info, and avoid archives of old articles
that tend to become obsolete...

..Mike


-----Original Message-----
From: Nicola Muratori [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 5:58 AM
To: [EMAIL PROTECTED]
Subject: Re: help with proxy


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???

Reply via email to