WSDL2Java SSL problem
Hi,
I am trying to run WSDL2Java on an https URL and get the following error
java.io.IOException: HTTPS hostname wrong: should be <ip address>
I have added the certificate to the keystore and have checked that the URL and cn of the certificate match but I still get this error. When I turn SSL debug on I can see that the certificate is found and the client and server handshake is performed but then the client disconnects for some reason with the error.
Can anyone help please.?
[525 byte] By [
bmcganna] at [2007-10-2 13:48:52]

Any resolution ? I'm also facing a similar issue.
[Loaded sun.net.www.protocol.http.NTLMAuthentication from /apps/opt/jdk142_05/jre/lib/rt.jar]
[Loaded sun.net.www.protocol.http.NTLMAuthentication$1 from /apps/opt/jdk142_05/jre/lib/rt.jar]
[Loaded sun.security.provider.MD5 from /apps/opt/jdk142_05/jre/lib/rt.jar]
[Loaded sun.reflect.GeneratedConstructorAccessor2]
[Loaded sun.reflect.GeneratedConstructorAccessor3]
[Loaded java.net.ProtocolException from /apps/opt/jdk142_05/jre/lib/rt.jar]
[Loaded org.apache.axis.utils.NetworkUtils]
[Loaded java.net.UnknownHostException from /apps/opt/jdk142_05/jre/lib/rt.jar]
[Loaded javax.xml.rpc.soap.SOAPFaultException]
Excep findAddressHelper: java.io.IOException
This occurs when i try to read from a connection.
InputStream in = ((HttpURLConnection) conn).getErrorStream();
File: Both SimpleHTTPSender.java AND CommonsHTTPSender throws the same exception.