aspose file tools*
The moose likes BEA/Weblogic and the fly likes can't create Service Control for a HTTPS WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "can Watch "can New topic
Author

can't create Service Control for a HTTPS WSDL

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
I get following exception in a pop up when creating Service Control for a "secured" WSDL (HTTPS one):


com.bea.workshop.webservices.servicecontrol.ui.except.TypesAnalysisFailedException: weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
at com.bea.workshop.webservices.servicecontrol.ui.util.ProcessServiceInfo.run(ProcessServiceInfo.java:115)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:313)
at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:402)
at weblogic.wsee.wsdl.WsdlImport.parse(WsdlImport.java:113)
at weblogic.wsee.wsdl.WsdlDefinitions.parseChild(WsdlDefinitions.java:507)
at weblogic.wsee.wsdl.WsdlExtensible.parse(WsdlExtensible.java:98)
at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:450)
at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:402)
at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:388)
at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:78)
at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:105)
at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:38)
at com.bea.workshop.webservices.servicecontrol.ui.util.WsdlAnalyzer.load(WsdlAnalyzer.java:35)
at com.bea.workshop.webservices.servicecontrol.ui.util.WsdlAnalyzer.analyzeWsdl(WsdlAnalyzer.java:28)
at com.bea.workshop.webservices.servicecontrol.runtimes.ControlsRuntimeImpl.createGenInfo(ControlsRuntimeImpl.java:34)
at com.bea.workshop.webservices.servicecontrol.ui.util.ProcessServiceInfo.run(ProcessServiceInfo.java:104)
... 1 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1057)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1041)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:155)
at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:58)
at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
... 15 more
Caused by: sun.security.validator.ValidatorException: No trusted certificate found
at sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
at sun.security.validator.Validator.validate(Validator.java:203)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172)
at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841)
... 29 more



Any idea, how to solve above issue.

Thanks.
 
wood burning stoves
 
subject: can't create Service Control for a HTTPS WSDL