Hello, New to the list-- I'm building a CXF client, having an issue with loading a WS-security properties file.
In this example: http://cxf.apache.org/docs/ws-securitypolicy.html#WS-SecurityPolicy-ConfiguringviaSpring They're loading a "etc/client.properties" file from the main cxf.xml config: <entry key="security.signature.properties" value="etc/client.properties"/> Where is "etc/" on the file system? I'd like my version of this file to be in META-INF/cxf/client.properties but can't get it to load. My cxf.xml is loading but then it fails. Output is below. Thanks in advance for you help. INFO: Loaded configuration file ../META-INF/cxf/cxf.xml. Apr 26, 2016 4:41:34 PM org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml] Apr 26, 2016 4:41:34 PM org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from file [/path/to/my/project/subfolder/../META-INF/cxf/cxf.xml] EXCEPTION: MyClass.myMethod javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:163) at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:129) at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:82) at javax.xml.ws.Service.<init>(Service.java:77) at com.ses.webservice.secureimap.client.cxfgen.SecureIntegrationServicesImap.<init>(SecureIntegrationServicesImap.java:43) at my-calling-class... at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:87) at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:218) at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:161) ... 9 more Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'https://target-endpoint.net/directory2/encpoint.svc?wsdl'.: 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 at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2198) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2390) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2422)