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 Drasko Kokic <dr...@yahoo.com> on 2001/07/30 19:51:51 UTC
SOAP call not working over proxy !!!
Hi everybody,
I am trying to prototype a very simple client/server
model using SOAP.
My problem is that the link goes via a proxy machine.
I have read a SOAP documentation and found the remark
that the following 3 lines are needed in order to make
it working with a proxy:
System.setProperty("proxySet", "true");
// enable proxying
System.setProperty("proxyHost", "127.0.0.1");
// set name of proxy server
System.setProperty("proxyPort", "8088");
// set port number for proxy server
(in my example I am redirecting a proxy address to my
localhost in hope to catch it on the TCP
Tunnel/Monitor)
Has anybody managed to connect via a proxy???
Where can I found more info about this subject?
TIA
Drasko
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Re: SOAP call not working over proxy !!!
Posted by Drasko Kokic <dr...@yahoo.com>.
THANKS A MILLION
Schöne Grüsse aus München
--- Stephan Wiesner <wi...@werum.de> wrote:
> Here is the code:
>
>
> System.out.println("Registriere Proxy fuer die
> Firewall...");
> SOAPHTTPConnection conn = new
> SOAPHTTPConnection();
> conn.setProxyHost("x.x.0.50");
> conn.setProxyPort(80);
>
> Call call = new Call(); // prepare the service
> invocation
> call.setSOAPTransport(conn); //set the proxy
>
> Works fine with me.
>
> Stephan
>
> ----- Original Message -----
> From: "Drasko Kokic" <dr...@yahoo.com>
> To: <so...@xml.apache.org>
> Sent: Monday, July 30, 2001 7:51 PM
> Subject: SOAP call not working over proxy !!!
>
>
> > Hi everybody,
> >
> > I am trying to prototype a very simple
> client/server
> > model using SOAP.
> > My problem is that the link goes via a proxy
> machine.
> > I have read a SOAP documentation and found the
> remark
> > that the following 3 lines are needed in order to
> make
> > it working with a proxy:
> > System.setProperty("proxySet", "true");
>
> > // enable proxying
> > System.setProperty("proxyHost", "127.0.0.1");
>
> > // set name of proxy server
> > System.setProperty("proxyPort", "8088");
>
> > // set port number for proxy server
> >
> > (in my example I am redirecting a proxy address to
> my
> > localhost in hope to catch it on the TCP
> > Tunnel/Monitor)
> >
> > Has anybody managed to connect via a proxy???
> > Where can I found more info about this subject?
> >
> > TIA
> > Drasko
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> > http://phonecard.yahoo.com/
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Re: SOAP call not working over proxy !!!
Posted by Drasko Kokic <dr...@yahoo.com>.
THANKS A MILLION
Schöne Grüsse aus München
--- Stephan Wiesner <wi...@werum.de> wrote:
> Here is the code:
>
>
> System.out.println("Registriere Proxy fuer die
> Firewall...");
> SOAPHTTPConnection conn = new
> SOAPHTTPConnection();
> conn.setProxyHost("x.x.0.50");
> conn.setProxyPort(80);
>
> Call call = new Call(); // prepare the service
> invocation
> call.setSOAPTransport(conn); //set the proxy
>
> Works fine with me.
>
> Stephan
>
> ----- Original Message -----
> From: "Drasko Kokic" <dr...@yahoo.com>
> To: <so...@xml.apache.org>
> Sent: Monday, July 30, 2001 7:51 PM
> Subject: SOAP call not working over proxy !!!
>
>
> > Hi everybody,
> >
> > I am trying to prototype a very simple
> client/server
> > model using SOAP.
> > My problem is that the link goes via a proxy
> machine.
> > I have read a SOAP documentation and found the
> remark
> > that the following 3 lines are needed in order to
> make
> > it working with a proxy:
> > System.setProperty("proxySet", "true");
>
> > // enable proxying
> > System.setProperty("proxyHost", "127.0.0.1");
>
> > // set name of proxy server
> > System.setProperty("proxyPort", "8088");
>
> > // set port number for proxy server
> >
> > (in my example I am redirecting a proxy address to
> my
> > localhost in hope to catch it on the TCP
> > Tunnel/Monitor)
> >
> > Has anybody managed to connect via a proxy???
> > Where can I found more info about this subject?
> >
> > TIA
> > Drasko
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> > http://phonecard.yahoo.com/
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Re: SOAP call not working over proxy !!!
Posted by Stephan Wiesner <wi...@werum.de>.
Here is the code:
System.out.println("Registriere Proxy fuer die Firewall...");
SOAPHTTPConnection conn = new SOAPHTTPConnection();
conn.setProxyHost("x.x.0.50");
conn.setProxyPort(80);
Call call = new Call(); // prepare the service invocation
call.setSOAPTransport(conn); //set the proxy
Works fine with me.
Stephan
----- Original Message -----
From: "Drasko Kokic" <dr...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Monday, July 30, 2001 7:51 PM
Subject: SOAP call not working over proxy !!!
> Hi everybody,
>
> I am trying to prototype a very simple client/server
> model using SOAP.
> My problem is that the link goes via a proxy machine.
> I have read a SOAP documentation and found the remark
> that the following 3 lines are needed in order to make
> it working with a proxy:
> System.setProperty("proxySet", "true");
> // enable proxying
> System.setProperty("proxyHost", "127.0.0.1");
> // set name of proxy server
> System.setProperty("proxyPort", "8088");
> // set port number for proxy server
>
> (in my example I am redirecting a proxy address to my
> localhost in hope to catch it on the TCP
> Tunnel/Monitor)
>
> Has anybody managed to connect via a proxy???
> Where can I found more info about this subject?
>
> TIA
> Drasko
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
Re: SOAP call not working over proxy !!!
Posted by Stephan Wiesner <wi...@werum.de>.
Here is the code:
System.out.println("Registriere Proxy fuer die Firewall...");
SOAPHTTPConnection conn = new SOAPHTTPConnection();
conn.setProxyHost("x.x.0.50");
conn.setProxyPort(80);
Call call = new Call(); // prepare the service invocation
call.setSOAPTransport(conn); //set the proxy
Works fine with me.
Stephan
----- Original Message -----
From: "Drasko Kokic" <dr...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Monday, July 30, 2001 7:51 PM
Subject: SOAP call not working over proxy !!!
> Hi everybody,
>
> I am trying to prototype a very simple client/server
> model using SOAP.
> My problem is that the link goes via a proxy machine.
> I have read a SOAP documentation and found the remark
> that the following 3 lines are needed in order to make
> it working with a proxy:
> System.setProperty("proxySet", "true");
> // enable proxying
> System.setProperty("proxyHost", "127.0.0.1");
> // set name of proxy server
> System.setProperty("proxyPort", "8088");
> // set port number for proxy server
>
> (in my example I am redirecting a proxy address to my
> localhost in hope to catch it on the TCP
> Tunnel/Monitor)
>
> Has anybody managed to connect via a proxy???
> Where can I found more info about this subject?
>
> TIA
> Drasko
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/