You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/04/05 15:24:32 UTC
[jira] Resolved: (AXIS2-2469) ProxyProperties is broken
[ https://issues.apache.org/jira/browse/AXIS2-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-2469.
-------------------------------------
Resolution: Fixed
> ProxyProperties is broken
> -------------------------
>
> Key: AXIS2-2469
> URL: https://issues.apache.org/jira/browse/AXIS2-2469
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.2, nightly
> Reporter: Paul Fremantle
> Assigned To: Saminda Wishwajith Abeyruwan
> Fix For: 1.2
>
>
> ProxyProperties is not working - it is not sending the port in the URL is passes to the proxy.
> Here is my code:
> PaulsServiceStub stub = new PaulsServiceStub(cc,
> "http://localhost:8080/PaulsService/mex");
> ProxyProperties pp = new ProxyProperties();
> pp.setProxyName("localhost");
> pp.setProxyPort(8000);
> stub._getServiceClient().getOptions().setProperty(HTTPConstants.PROXY, pp);
> etc...
> Here is what you see in TCPMON
> POST http://localhost/PaulsService/mex HTTP/1.1
> As you can see, the port is missing from the URL - it should be
> http://localhost:8080/PaulsService/mex
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org