You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by George I Matkovits <ma...@uswest.net> on 2001/01/02 03:29:45 UTC

Re: using proxy

I have an untested version with socket and not with my 6 month 'old' URL
(and SSL) version. I will try to post it ASAP (after the CVS tree starts
working again :-).
Regards - George

Wouter Cloetens wrote:

> Hmm... I didn't even realise HTTP proxy authentication/authorisation
> existed. Only the hostname and port are parameters currently. Are you
> volunteering to implement RFC2617? ;-)
>
> bfn, Wouter
>
> On Mon, 25 Dec 2000 09:06:41 +0800, ZHOUYE wrote:
>
> >Hi!
> >How do I do when my proxy need Authenticate?
> > Thanks!
> >                                                            Zhouye
> >----- Original Message -----
> >From: "Wouter Cloetens" <wc...@raleigh.ibm.com>
> >To: <ao...@wsd.mt.nec.co.jp>; <so...@xml.apache.org>
> >Sent: Saturday, December 23, 2000 4:21 AM
> >Subject: Re: using proxy
> >
> >
> >> Proxy support was contributed a while ago (more recently than the
> >> currently downloadable version - you'll need a newer build, e.g. the
> >> one on http://workspot.net/~zombie/soap/), but because we don't use
> >> URLConnection, that's not how it works.
> >>
> >> Try it like this:
> >>
> >> import org.apache.soap.transport.http.SOAPHTTPConnection;
> >> [...]
> >> SOAPHTTPConnection st = new SOAPHTTPConnection();
> >> st.setProxy("proxysv.wsd.mt.nec.co.jp", 8080);
> >> Call call = new Call();
> >> call.setSOAPTransport(st);
> >> [...]
> >>
> >> You can reuse the "st" object on sequential (not simultaneous) calls.
> >>
> >> bfn, Wouter
> >>
> >> On Fri, 22 Dec 2000 19:00:02 +0900, aoyagi@wsd.mt.nec.co.jp wrote:
> >>
> >> >Hi,
> >> >I want to connect with soap server using proxy server.
> >> >I wrote the program as follows.
> >> [...]
> >> >    // Modify system properties
> >> >    Properties sysProperties = System.getProperties();
> >> >    // Specify proxy settings
> >> >    sysProperties.put("proxyHost", "proxysv.wsd.mt.nec.co.jp");
> >> >    sysProperties.put("proxyPort", "8080");
> >> >    sysProperties.put("proxySet",  "true");
> >> [...]
>
> --
> http://www.workspot.net/~zombie/soap/
> My opinions are irrelevant. They will be assimilated by my employer.