[ 
https://issues.apache.org/jira/browse/CXF-5555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13896909#comment-13896909
 ] 

Daniel Kulp commented on CXF-5555:
----------------------------------

We'd likely need a test case.

We have some system tests that do this exact thing:

http://svn.apache.org/repos/asf/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http/HTTPProxyAuthConduitTest.java

and they work with the proxy.  Thus, it seems to be working.

> 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
>
> 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)

Reply via email to