We are calling a legacy WCF WSDL based Service from Spring Web Services Client.
The details we got was
- a .cer file
- UserName and Password
- domain
The above file has been imported in the cacerts via the keytool of the JRE that is getting used.
The client is being setup as a SpringBoot Application using apache cfx for client generation and spring ws for executing
The code is completed and when the getWebServiceTemplate.marshalSendAndReceive(url, request, callback) is called,
Getting
org.springframework.ws.client.WebServiceIOException: I/O error:
sun.security.validator.ValidatorException: PKIX path validation
failed: java.security.cert.CertPathValidatorException: signature check
failed
Tried everything. There are tons of articles around incl. sof but nothing leads to solve the above issue.
Any help to resolve it would be highly appreciated.
thanks
1