I'm looking at the other side of this coin.  I need to change this property
on the fly, every time.  It's dependent on the endpoint URL.  The process
involves multiple threads, so I can't depend on the system properties to
hold the proxy information, because one thread can change the proxy
information before the prior thread has connected. 

John 

-----Original Message-----
From: Tom Jordahl [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2003 2:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Prevent proxy-address caching in DefaultHTTPTransportClientPr
operties


I did this by overriding the TransportClientProperties class with my own
that did what I wanted.  In my case, I set some properties in the
MessageContext and read them in my version of TransportClientProperties.

See the documentation in the integration guide in the Axis docs for details
on the 2 ways to override.  Basically you can do:
-Dorg.apache.axis.components.net.TransportClientProperties=my.package.MyTran
sportClientProperties



--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Slava Kudinov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2003 11:04 AM
To: [EMAIL PROTECTED]
Subject: Q:Prevent proxy-address caching in
DefaultHTTPTransportClientProperties

Hello axis-user,

I am wondering is there any way to prevent proxy "host:port" settings in
DefaultHTTPTransportClientProperties class? I want to change proxy
configuration on-the-fly

-- 
Best regards,
 Slava

Reply via email to