Even if i could work out which way to set proxy would be good.

METHOD ONE:

https://stackoverflow.com/questions/31550064/apache-cxf-client-proxy-settings

Proxy is set with : http.getClient().setProxyServer("proxy");

I note the example code also has instantiated HelloPortType helloPort =
cliente.getHelloPort(); - I dont have a HelloPortType class for my service
which was generated from WSDL.

METHOD TWO:

https://github.com/apache/cxf/blob/master/systests/transports/src/test/java/org/apache/cxf/systest/http/HTTPProxyConduitTest.java

They set proxy with pol.setProxyServer("localhost"); 

where pol is a HttpClientPolicy.

Are both methods valid? My client seems to contact the correct proxy but
never sends creds.

I am on 3.1.14

Thanks

AG





--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to