Derek,

        First thing I can think of is that you're probably running a pre-1.4 JDK/JRE 
and you probably haven't got JSSE installed?


Liviu Tudor 

Cimage Novasoft Limited
www.cimagenovasoft.com
[EMAIL PROTECTED]
Fax: +44 (0)1344 767701
Direct Line: +44 (0)1344 767759 
Centennial Court, Easthampstead Road, Bracknell, BERKS, RG12 1JZ 

Computer dating is fine, if you're a computer.
 



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 3:12 PM
To: [EMAIL PROTECTED]
Subject: unable to do an https



Hi,

      I got the following error when trying to connect to a soap server
running on https:

            java.net.MalformedURLException: unknown protocol: https

      Here is the code smipped, and I am using java 1.3 and jsse 1.0.3_02
from SUN:

            System.setProperty("javax.net.ssl.trustStore",
"myCertificate.cer");
            System.setProperty("java.protocal.handler.pkgs",
"com.sun.net.ssl.internal.www.protocal");
            Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider
());

            service = locator.getSessionService(new URL
("https://someserver:443/services/SessionService";));

      By the way, everything worked fine if I connect to http.

      Any help would be greatly appreciated.

      Thanks and regards.

--Derek



*************************************************************************************************


This e-mail is being sent to you for your information or at
your request. The information is not warranted as to
completeness or accuracy, nor does it serve as an official
record of your account. Your official Trade Confirmation
and/or Client Account Statement are the official records
of your account. Further, since the confidentiality of
Internet e-mail cannot be guaranteed, please do not include
private or confidential information (passwords, account numbers,
social security numbers, etc.), or instructions requiring your
authorization (orders, address changes, funds transfers, etc.)
in your e-mail communications to us. For additional important
information about privacy and Internet terms and conditions,
please visit us at (http://www.prudential.com). If you do
not wish to receive any further e-mail from us, please
send an e-mail to [EMAIL PROTECTED]

Prudential Equity Group, Member SIPC,
One New York Plaza, New York, NY 10292


Reply via email to