I am using IBM JDK 1.3.1. I am trying to consume a web service which is on https. I use AXIS 1.2 to generate stubs and when I run my web service client program to consume the service I am getting below error:
java.net.MalformedURLException: unknown protocol: https at java.net.URL.<init>(URL.java:475) at java.net.URL.<init>(URL.java:371) at java.net.URL.<init>(URL.java:325)
Is there any configuration of IBM implementation of JSSE with my web service client required. Can sun's JSSE implementation will work for my IBK JRE ? Please clarify ?
The javax.net and javax.net.ssl packages which implement HTTPS are in JDK 1.4 and higher. For 1.3 you need to download JSSE from java.sun.com. It should work with the IBM JDK, although there is some setup to do, which is explained in the documentation. Alternatively, you can upgrade to JDK 1.4.