Category Archives: jax-ws

JAX-WS “HTTPS hostname wrong: should be <mysite.com>” Exception

If the “cn” of the web services server certificate does not match its host name, you’ll get: com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.io.IOException: HTTPS hostname wrong: should be <mysite.com> You can implement your own javax.net.ssl.HostnameVerifier to suppress it. Important, remember to … Continue reading

Posted in jax-ws, ssl | Leave a comment