javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://www.example.com:5242/calculator/calculatorport?wsdl. It failed with: HTTPS hostname wrong: should be <www.example.com>.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Vishal Tyagi
, 1 year ago
Failed to access the WSDL at: https://www.example.com:5242/calculator/calculatorport?wsdl. It failed with: HTTPS hostname wrong: should be <www.example.com>.
via signserver by sigbj
, 1 year ago
Failed to access the WSDL at: <https://localhost:8443/ejbca/ejbcaws/ejbcaws?wsdl.> It failed with: Connection refused.
via sourceforge.net by Unknown author, 2 years ago
Failed to access the WSDL at: It failed with: Connection refused.
via experts-exchange.com by Unknown author, 2 years ago
Failed to access the WSDL at: http://mm-pc2/Service.asmx?wsdl. It failed with: http://mm-pc2/Service.asmx?wsdl.
via experts-exchange.com by Unknown author, 1 year ago
Failed to access the WSDL at: http://mm-pc2/Service.asmx?wsdl. It failed with: http://mm-pc2/Service.asmx?wsdl.
via developer-works.com by Unknown author, 1 year ago
Failed to access the WSDL at: http://vmxp43:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=1344065729220:B443F7C3DED844B594F32E0B3914E576&IsSoap=1. It failed with: *Invalid WSDL http://vmxp43:16200/cs/idcplg?IdcService
javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://www.example.com:5242/calculator/calculatorport?wsdl. It failed with: HTTPS hostname wrong: should be <www.example.com>.
at com.ibm.net.ssl.www2.protocol.https.c.b(c.java:69)
at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:148)
at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:12)
at com.ibm.net.ssl.www2.protocol.https.b.getInputStream(b.java:32)
at java.net.URL.openStream(URL.java:1022)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:805)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:263)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.