axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2469) ProxyProperties is broken
Date Wed, 04 Apr 2007 08:33:32 GMT
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
             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


Mime
View raw message