[
https://issues.apache.org/jira/browse/CXF-5555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-5555.
------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: NeedMoreInfo)
Invalid
Assignee: Daniel Kulp
> 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
> Assignee: Daniel Kulp
> Fix For: Invalid
>
>
> 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.2#6252)