You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alistair Young <al...@smo.uhi.ac.uk> on 2007/10/31 12:01:58 UTC
[AXIS2] proxy problems
Can anyone tell me how to get past a proxy when connecting to an
HTTPS web service please? The error is:
Unable to tunnel through proxy. Proxy returns "HTTP/1.0 403 Forbidden"
there's HTTPConstants.PROXY but nothing to set the port
thanks,
Alistair
--------------
mov eax,1
mov ebx,0
int 80h
Re: [AXIS2] proxy problems
Posted by Alistair Young <al...@smo.uhi.ac.uk>.
thank you!
Alistair
--------------
mov eax,1
mov ebx,0
int 80h
On 31 Oct 2007, at 12:30, Antonio Manuel Muñiz Martín wrote:
> Try this:
>
> ProxyProperties proxyProperties = new ProxyProperties();
> proxyProperties.setProxyName("192.168.0.10");
> proxyProperties.setDomain(" 192.168.0.10");
> proxyProperties.setProxyPort(80);
>
> stub._getServiceClient().getOptions().setProperty
> (HTTPConstants.PROXY, proxyProperties);
>
> Replace 192.168.0.10 with your proxy IP, and replace 80 with
> appropiated port (possibly 443).
>
> 2007/10/31, Alistair Young <alistair@smo.uhi.ac.uk >:
> Can anyone tell me how to get past a proxy when connecting to an
> HTTPS web service please? The error is:
>
> Unable to tunnel through proxy. Proxy returns "HTTP/1.0 403 Forbidden"
>
> there's HTTPConstants.PROXY but nothing to set the port
>
> thanks,
>
> Alistair
>
>
> --------------
> mov eax,1
> mov ebx,0
> int 80h
>
>
>
>
>
Re: [AXIS2] proxy problems
Posted by Antonio Manuel Muñiz Martín <am...@gmail.com>.
Try this:
ProxyProperties proxyProperties = new ProxyProperties();
proxyProperties.setProxyName("192.168.0.10");
proxyProperties.setDomain("192.168.0.10");
proxyProperties.setProxyPort(80);
stub._getServiceClient().getOptions().setProperty(
HTTPConstants.PROXY, proxyProperties);
Replace 192.168.0.10 with your proxy IP, and replace 80 with appropiated
port (possibly 443).
2007/10/31, Alistair Young <al...@smo.uhi.ac.uk>:
>
> Can anyone tell me how to get past a proxy when connecting to an HTTPS web
> service please? The error is:
> Unable to tunnel through proxy. Proxy returns "HTTP/1.0 403 Forbidden"
>
> there's HTTPConstants.PROXY but nothing to set the port
>
> thanks,
>
> Alistair
>
>
> --------------
> mov eax,1
> mov ebx,0
> int 80h
>
>
>
>
>