You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Braginsky, Leo" <lb...@akamai.com> on 2001/03/16 23:06:57 UTC

HTTPS exception - help needed!

The code below:

        try
        {
            url = new URL (urlstr);
        }
        catch(MalformedURLException e)
        {
            System.err.println("Caught MalformedURLException (" +

                                e.getMessage() + ")" );
            throw e; 
        }

generates an exception "unknown protocol: https" when I feed an HTTPS URL to
it. It works fine with an HTTP URL. Both URLs are accessible from Web
browser. What I am missing? Please help!

Thanks a bunch,

- leo

RE: HTTPS exception - help needed!

Posted by Silvio Fiorito <si...@ntr.net>.
Have you installed the SSL extensions (http://java.sun.com/products/jsse/)
as stated in the docs?

Silvio

-----Original Message-----
From: Braginsky, Leo [mailto:lbragins@akamai.com]
Sent: Friday, March 16, 2001 5:07 PM
To: 'soap-user@xml.apache.org'
Subject: HTTPS exception - help needed!


The code below:

        try
        {
            url = new URL (urlstr);
        }
        catch(MalformedURLException e)
        {
            System.err.println("Caught MalformedURLException (" +

                                e.getMessage() + ")" );
            throw e;
        }

generates an exception "unknown protocol: https" when I feed an HTTPS URL to
it. It works fine with an HTTP URL. Both URLs are accessible from Web
browser. What I am missing? Please help!

Thanks a bunch,

- leo


RE: HTTPS exception - help needed!

Posted by Silvio Fiorito <si...@ntr.net>.
Have you installed the SSL extensions (http://java.sun.com/products/jsse/)
as stated in the docs?

Silvio

-----Original Message-----
From: Braginsky, Leo [mailto:lbragins@akamai.com]
Sent: Friday, March 16, 2001 5:07 PM
To: 'soap-user@xml.apache.org'
Subject: HTTPS exception - help needed!


The code below:

        try
        {
            url = new URL (urlstr);
        }
        catch(MalformedURLException e)
        {
            System.err.println("Caught MalformedURLException (" +

                                e.getMessage() + ")" );
            throw e;
        }

generates an exception "unknown protocol: https" when I feed an HTTPS URL to
it. It works fine with an HTTP URL. Both URLs are accessible from Web
browser. What I am missing? Please help!

Thanks a bunch,

- leo