• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failed to access the WSDL

 
Mohammed Omar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every one iam new in SSL and Webservice
iam use weblogic 10.3 and java 1.6

Why am I getting the following error when I execute my web service client?

Added certificate to keystore 'jssecacerts' using alias 'localhost-1'
url = https://localhost:7002/UBSWebservice/UBSWebservice.jws?WSDL
javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://localhos
t:7002/UBSWebservice/UBSWebservice.jws?WSDL. It failed with:
Got java.security.cert.CertificateException: No name matching localhost
found while opening stream from https://localhost:7002/UBSWebservice/UBSWebservi
ce.jws?WSDL.
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unkn
own Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown S
ource)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown S
ource)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown So
urce)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Sourc
e)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Sourc
e)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknow
n Source)
at javax.xml.ws.Service.<init>(Unknown Source)

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic