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>.

Stack Overflow | Vishal Tyagi | 4 months ago
  1. 0

    Caused by: java.io.IOException: HTTPS hostname wrong: should be <www.example.com>

    Stack Overflow | 4 months ago | Vishal Tyagi
    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>.
  2. 0

    Java Secure Webservice

    Stack Overflow | 7 years ago | sixtyfootersdude
    java.io.IOException: HTTPS hostname wrong: should be <hostname>. ( entire thing shown below). I suspect that this has to do with the certificate that is being used. I think that I need to use the java keytool to resolve this. If someone could verify for me it would be greatly appreciated. javax.xml.soap.SOAPException: java.io.IOException: Could not transmit message
  3. 0

    [help] sslsocket connect to https via proxy

    Oracle Community | 1 decade ago | 843790
    java.io.IOException: HTTPS hostname wrong: should be <172.25.73.225>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HTTPS hostname wrong

    Oracle Community | 1 decade ago | 843811
    java.io.IOException: HTTPS hostname wrong: should be <myserver.mycompany.com>
  6. 0

    Java Secure Webservice

    Server Fault | 7 years ago | sixtyfootersdude
    java.io.IOException: HTTPS hostname wrong: should be <host>. ( entire thing shown below). I suspect that this has to do with the certificate that is being used. I think that I need to use the java keytool to resolve this. If someone could verify for me it would be greatly appreciated. javax.xml.soap.SOAPException: java.io.IOException: Could not transmit message

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      HTTPS hostname wrong: should be <www.example.com>

      at com.ibm.net.ssl.www2.protocol.https.c.b()
    2. com.ibm.net
      d.connect
      1. com.ibm.net.ssl.www2.protocol.https.c.b(c.java:69)
      2. com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:148)
      3. com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:12)
      3 frames
    3. Java RT
      HttpURLConnection.getInputStream
      1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1207)
      1 frame
    4. com.ibm.net
      b.getInputStream
      1. com.ibm.net.ssl.www2.protocol.https.b.getInputStream(b.java:32)
      1 frame
    5. Java RT
      RuntimeWSDLParser.parse
      1. java.net.URL.openStream(URL.java:1022)
      2. com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:805)
      3. com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:263)
      4. com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:130)
      4 frames