ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "FrontPage/Axis/AxisProxy" by JoergBuchberger
Date Wed, 06 Apr 2005 14:17:27 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by JoergBuchberger:
http://wiki.apache.org/ws/FrontPage/Axis/AxisProxy

The comment on the change is:
reset proxy settings during runtime (usually this would happen only once)

------------------------------------------------------------------------------
  As another alternative please read [http://marc.theaimsgroup.com/?l=axis-dev&m=105787295106872&w=2]
  This allows you to supply a class
  {{{
- -D org.apache.axis.components.net.TransportClientProperties
+ -Dorg.apache.axis.components.net.TransportClientProperties
  }}}
  that AXIS will use to provide client properties.
  
+ If you need the ability to '''reset proxy settings during runtime''', i.e. without stopping/starting
the JVM (e.g. after the proxy settings dialog of your application was edited and confirmed
by a user), it is sufficient to add a public static method to `Transport``Client``Properties``Factory`,
that is just clearing its `Transport``Client``Properties`-cache. If it is possible to override
the default `Transport``Client``Properties``Factory`, by providing your custom factory
+ {{{
+ -Dorg.apache.axis.components.net.TransportClientPropertiesFactory=your.package.YourTCPropsFactory
+ }}}
+ this would be the preferable approach.
  
  Further information about the built-in proxy options for Java2 1.4 including authentication
and SOCKS can be at
  [http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html]
Mime
View raw message