Hmm, its still not sending creds.

Looking at a few examples online I think I am missing something.

Anyone able to clarify what I am missing?

        HTTPConduit http = (HTTPConduit) client.getConduit();

        if (PROXY) {
            HTTPClientPolicy policy = http.getClient();
            policy.setProxyServer("webproxy.test.au");
            policy.setProxyServerPort(8080);
            policy.setReceiveTimeout(600000);
            ProxyAuthorizationPolicy auth = new ProxyAuthorizationPolicy();
            auth.setUserName(pdf.get("username"));
            auth.setPassword(pdf.get("password"));
            //http.getProxyAuthorization().setUserName(pdf.get("username"));
            //http.getProxyAuthorization().setPassword(pdf.get("password"));
            http.setAuthorization(auth);
            http.setClient(policy);
        }

        http.setTlsClientParameters(tlsParams);

        // SEND DATA
        response = isalesService.setSale(request);


Cheers

AG





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

Reply via email to