So I changed the service to point to https endpoint by editing the SaleService:
@WebServiceClient(name = "SalesService", targetNamespace = "urn:test.sales.com/schema/common", wsdlLocation = "https://sales.com.au/ISRService.svc?singleWsdl") public class SalesService extends Service {.... I have also imported the server certificate and they have trusted mine. I have also imported a private key. When I try to connect there is a long stack trace, but the relevant parts: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'https://sales.com.au/ISRService.svc?singleWsdl'.: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Obviously an error with the certificates? If i list whats in truststore.jks I see 2 certs. Server and CAcert. keystore.jks has also two entries. What else can I check? -- Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
