cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5555) HTTPConduit ( Proxy Functionality) by API is not working
Date Mon, 10 Feb 2014 19:39:19 GMT

     [ https://issues.apache.org/jira/browse/CXF-5555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp updated CXF-5555:
-----------------------------

    Fix Version/s: NeedMoreInfo

> HTTPConduit ( Proxy Functionality) by API is not working
> --------------------------------------------------------
>
>                 Key: CXF-5555
>                 URL: https://issues.apache.org/jira/browse/CXF-5555
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>            Reporter: Pratap Koritala
>             Fix For: NeedMoreInfo
>
>
> As per https://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLsupport%29-Usingjavacode
> CXF should route HTTP traffic through proxy but it is not working.
> I have tried following code.
>         Client client = ClientProxy.getClient(apiInterface);
>         HTTPConduit http = (HTTPConduit) client.getConduit();
>         HTTPClientPolicy policy = http.getClient();
>         policy.setProxyServer("127.0.0.1");
>         policy.setProxyServerPort(8888);
>         http.setClient(policy);
> But the same functionality is working through Sprint http-conf:conduit XML Element. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message