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 "Paul Fremantle (JIRA)" <ji...@apache.org> on 2007/04/04 10:33:32 UTC

[jira] Created: (AXIS2-2469) ProxyProperties is broken

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


[jira] Resolved: (AXIS2-2469) ProxyProperties is broken

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Commented: (AXIS2-2469) ProxyProperties is broken

Posted by "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486675 ] 

Saminda Wishwajith Abeyruwan commented on AXIS2-2469:
-----------------------------------------------------

Fixed. Paul please try the sample and close the issue. 

Thank you

Saminda 

> 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


[jira] Assigned: (AXIS2-2469) ProxyProperties is broken

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2469:
----------------------------------------

    Assignee: Saminda Wishwajith Abeyruwan

> 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


[jira] Commented: (AXIS2-2469) ProxyProperties is broken

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486943 ] 

Davanum Srinivas commented on AXIS2-2469:
-----------------------------------------

mark as resolved as per saminda's comment.

-- dims

> 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