The code will only try to authenticate if you have defined the system
property https.proxyAuth, which would have to be the Base64-encoded
authentication string.  I think this was used instead of having separate
https.proxyUser and https.proxyPassword to provide some meager amount of
privacy.  Do you think it would be good/better to have https.proxyUser
and https.proxyPassword?

Scott Nichol

----- Original Message -----
From: "Ladwig, Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 3:07 PM
Subject: RE: Problems with HTTPS + Proxy + Authentication


> Sorry.  I'll try and get your source in here to make this more
readable, but
> here is what I have now.
>
> mike.
>
>
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39
> )
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl
> .java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.soap.util.net.HTTPUtils.getSecureSocket(Unknown
> Source)
>         at org.apache.soap.util.net.HTTPUtils.post(Unknown Source)
>         at org.apache.soap.util.net.HTTPUtils.post(Unknown Source)
>         at
org.apache.soap.transport.http.SOAPHTTPConnection.send(Unknown
> Source)
>         at org.apache.soap.rpc.Call.invoke(Unknown Source)
>         at
sage2.src.Sensors.Core2.testauthproxy.main(testauthproxy.java:70)
> Caused by: java.io.IOException: Unable to tunnel through
> httpdal2.northgrum.com:80.  Proxy returns "HTTP/1.0 407 Proxy
authorization
> required"
>         at org.apache.soap.util.net.SSLUtils.doTunnelHandshake(Unknown
> Source)
>         at org.apache.soap.util.net.SSLUtils.buildSSLSocket(Unknown
Source)
>         ... 10 more
>
> -----Original Message-----
> From: Scott Nichol [mailto:snicholnews@;scottnichol.com]
> Sent: Friday, October 18, 2002 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problems with HTTPS + Proxy + Authentication
>
>
> Can you catch the SOAPException and do
> e.getRootException().printStackTrace()?  That would be a big help.
>
> Thanks.
>
> Scott Nichol
>
> --
> To unsubscribe, e-mail:
<mailto:soap-user-unsubscribe@;xml.apache.org>
> For additional commands, e-mail:
<mailto:soap-user-help@;xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@;xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org>

Reply via email to