Pratap Koritala created CXF-5555:
------------------------------------
Summary: HTTPConduit 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
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)