Or like this? (I can't test it now as I have left the site with proxy):
org.apache.cxf.endpoint.Client client =
org.apache.cxf.frontend.ClientProxy.getClient(iisrService);
org.apache.cxf.endpoint.Endpoint cxfEndpoint = client.getEndpoint();
cxfEndpoint.getOutInterceptors().add(loi);
cxfEndpoint.getInInterceptors().add(lii);
HTTPConduit http = (HTTPConduit) client.getConduit();
HTTPClientPolicy policy = new HTTPClientPolicy();
policy.setProxyServer("someproxy.enterprise.au");
policy.setProxyServerPort(8080);
http.getProxyAuthorization().setUserName("username");
http.getProxyAuthorization().setPassword("password");
http.setClient(policy);
http.setTlsClientParameters(tlsParams);
--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html