No momento que configuramos uma keystore no SOA 12C alguns problemas podem ocorrer.
1 2 3 4 5 6 |
Caused By: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "https://SOA_SERVER:8002/soa-infra/services/default/DocumentRouting/documentrouting_client_ep?WSDL", caused by: javax.net.ssl.SSLHandshakeException. : 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 |
Ou
1 2 3 4 5 6 |
<bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: javax.xml.ws.WebServiceException: Could not determine wsdl ports. WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "https://sandbox.zmsolution.com.br/ws2/ZMsolutionBean?wsdl", caused by: javax.net.ssl.SSLHandshakeException.: 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</summary></part><part name="code"><code>null</code></part><part name="detail"><detail>unable to find valid certification path to requested target</detail></part></remoteFault></bpelFault> |
O erro ocorre devido ao arquivo setDomainEnv ter uma configuração para a keystore demo(DemoTrust.jks) para solucionar, altere o arquivo setDomainEnv.sh e retire a linha abaixo: -Djavax.net.ssl.trustStore=${WL_HOME}/server/lib/DemoTrust.jks e reiniciei todo o SOA 12c . Com isso o problema estará solucionado.
Read more