• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

unknown protocol - https

 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

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 ?


Thanks & Regards,
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic