Perfect! Thanks. -----Original Message----- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 4:21 PM To: [email protected] Subject: Re: How to use AXIS CLIENT with proxy settings.
see http://wiki.apache.org/ws/FrontPage/Axis/AxisProxy specifically at the link to the archives. -- dims On Mon, 7 Mar 2005 12:06:55 -0800, Dino Chiesa <[EMAIL PROTECTED]> wrote: > Related to that, > > Can I turn on, or off, the use of proxy per client stub? > (org.apache.axis.client.Stub ) eg, something like > > // client code > MyBindingStub stub = new MyBindingStub(); stub.setProxy(...); > > Also, can I turn OFF the http.proxyHost/port, once it is turned on? > If I set the system property, then create a client stub, the client > stub uses the specified http proxy. All good. If I then reset the > system property, then instantiate another client stub, the client stub > continues to use the previous proxyHost. > > The converse is also true; if http.proxyHost is unset, and I > instantiate a client stub, then I set http.proxyHost, then instantiate > another client stub, the 2nd stub does not utilize the (non-null) > http.proxyHost setting. > > -D > > -----Original Message----- > From: Matt Robinson [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 06, 2005 11:45 PM > To: [email protected] > Cc: [email protected] > Subject: Re: How to use AXIS CLIENT with proxy settings. > > Are you putting in valid data for the second parameter, e.g.: > > System.setProperty("http.proxyHost", "myproxy.xyz.net"); > System.setProperty("http.proxyPort", "3128"); > > [email protected],Internet writes: > >System.setProperty("http.proxyHost", ""); > >System.setProperty("http.proxyPort", ""); > > Kind Regards, > > Matt Robinson > > E-Commerce > Level 7 > Flight Centre Limited > 316 Adelaide Street > Brisbane QLD 4000 > > Ph: 3032 9488 > Mob: 0414 385 600 > http://www.flightcentre.com > > -- Davanum Srinivas - http://webservices.apache.org/~dims/
