FYI, for the record...
--- Tom Jordahl <[EMAIL PROTECTED]> wrote:
> From: Tom Jordahl <[EMAIL PROTECTED]>
> To: "'Asbell, Jonathan'" <[EMAIL PROTECTED]>,
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>, Glen Daniels <[EMAIL PROTECTED]>,
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
> Tom Jordahl <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>
> Subject: RE: Axis and authenticating proxyies
> Date: Thu, 10 Jul 2003 16:57:49 -0400
>
> In general questions like these are best asked on the mailing lists, either
> axis-user or
> axis-dev.
>
>
>
> You can provide your own implementation of TransportClientProperties. Here are some
> snippets of
> what I use for per-request proxy info for ColdFusion MX:
>
>
>
> /*
>
> * Axis is directed to use this class instead of
>
> * org.apache.axis.components.net.TransportClientProperties by
>
> * setting the System property
>
> *
>
-Dorg.apache.axis.components.net.TransportClientProperties=coldfusion.xml.rpc.AxisTransportClientProperties
>
> * or by finding the following file
>
> * /META-INF/services/org.apache.axis.components.net.TransportClientProperties
>
> * with the full name of the replacement class (i.e. this one) in it.
>
> * <P>
>
> * This reads proxy settings from the MessageContext to give per-request proxy
> support
>
> */
>
> public class AxisTransportClientProperties extends
> DefaultHTTPTransportClientProperties
>
>
>
> ...
>
> public String getProxyHost()
>
> {
>
> // Retrieve proxy info from Message context every time
>
> String ret = null;
>
> MessageContext context = MessageContext.getCurrentContext();
>
> if (context != null)
>
> {
>
> ret = (String) context.getProperty("coldfusion.proxyHost");
>
> }
>
> if (ret == null)
>
> {
>
> // use System property if set
>
> ret = super.getProxyHost();
>
>
>
> }
>
> return ret;
>
> }
>
> --
> Tom Jordahl
> Macromedia Server Development
>
> -----Original Message-----
> From: Asbell, Jonathan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 3:49 PM
> To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
> '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
> '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
> '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
> '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
> '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Subject: Axis and authenticating proxyies
>
>
>
> Hello Gentlemen and ladies.
>
> I have found nothing in the SOAP spec or Axis notes regarding delaing with an
> "authenticating
> proxy" in java. Yes there is a note about proxies and ports, but nothing dealing
> with the
> authenticating portion. I posted a question regarding this on 11/19/2002 and a user
> responded
> that I could use the following to deal with this:
>
>
>
> System.setProperty("proxySet", "true");
> System.setProperty("http.proxyHost", "yourproxyhost");
> System.setProperty("http.proxyPort", "yourproxyport");
> System.setProperty("http.proxyUser", "yourproxyusername");
> System.setProperty("http.proxyPassword", "yourproxypassword");
>
>
>
> The problem with this is that this configuration affects the ENTIRE VIRTUAL MACHINE.
> I may need
> some webservice calls to use one authenticating proxy, other services to use other
> authenticating proxies, and yet others using no proxies. Its really a "per call" or
> "per use"
> issue. Has this issue been considered?
>
>
>
> Sincerely,
>
>
>
> Jonathan Asbell
>
> Director and Manager of Application Development
>
> McGraw-Hill Information & Media Services
>
> 212-904-4328
>
>
=====
Davanum Srinivas - http://webservices.apache.org/~dims/
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com