Hi Gurus,
Sorry for bothering you with so many wso questions but I do not know what to do next.
I have a web service which I need to communicate over HTTPS.
The first problem is when I try to load it in web service operation wizard. I've got an error like (please check wsdlError1_wsoOverHttps_1.png attached).
Unable to access WSDL in URL https://XXXXXXX:9443/EncryptPin/services/encryptPin?wsdl. You may need to configure a proxy in the Orchestration Designer preferences, or the WSDL file is invalid.
java.lang.RuntimeException: 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
So, I configured proxy (please check wsdlHttpsProxy_1.png) and the error now is
!MESSAGE Unable to access WSDL in URL https://XXXXXXXX:9443/EncryptPin/services/encryptPin?wsdl. You may need to configure a proxy in the Orchestration Designer preferences, or the WSDL file is invalid.
!STACK 0
java.lang.RuntimeException: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
So, I am a little bit confused and do not know what to do next? Where the problem is? What I need to ask https web service developers? What they could make wring?
Thanks in advance for your help! And I will appreciate for any tip since the question is really urgent...
The full stack traces are here (sorry for put it in the thread body but the limit is only up to 3 attachments):
!ENTRY com.avaya.sce.ws.ui 4 0 2017-12-06 14:08:35.529
!MESSAGE Unable to access WSDL in URL
https://XXXXXXX:9443/EncryptPin/services/encryptPin?wsdl. You may need to configure a proxy in the Orchestration Designer preferences, or the WSDL file is invalid.
!STACK 0
java.lang.RuntimeException: 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.avaya.sce.ws.internal.WSDLDescriptor.fetchFile(WSDLDescriptor.java:174)
at com.avaya.sce.ws.internal.WSDLDescriptor.access$2(WSDLDescriptor.java:152)
at com.avaya.sce.ws.internal.WSDLDescriptor$1.run(WSDLDescriptor.java:106)
at com.avaya.ade.common.core.utils.TimedCancelableOperation.run(TimedCancelableOperation.java:116)
Caused by: 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 sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at com.avaya.sce.ws.internal.WSDLDescriptor.fetchFile(WSDLDescriptor.java:171)
... 3 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 21 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 27 more
!ENTRY com.avaya.sce.ws.ui 4 0 2017-12-06 14:17:21.348
!MESSAGE Unable to access WSDL in URL
https://XXXXXXXX:9443/EncryptPin/services/encryptPin?wsdl. You may need to configure a proxy in the Orchestration Designer preferences, or the WSDL file is invalid.
!STACK 0
java.lang.RuntimeException: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
at com.avaya.sce.ws.internal.WSDLDescriptor$1.run(WSDLDescriptor.java:134)
at com.avaya.ade.common.core.utils.TimedCancelableOperation.run(TimedCancelableOperation.java:116)
Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)