I am writing HTTPs client code as below, but encountered warning message. I am 
using Restlet 1.1. I suspect I lost jar file in my classpath. could youi please 
point out whiat jar files I need to.

my client code is:

System.setProperty("javax.net.ssl.trustStore", "c:\\storefile");
        System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
        System.setProperty("javax.net.ssl.keyStore", "c:\\storefile");
        System.setProperty("javax.net.ssl.keyStorePassword", "changeit");

Client c = new Client(Protocol.HTTPS);
Request request = new Request(Method.GET, new Reference(uri));
Response response = c.handle(request);

The warning message is:

WARNING: No available client connector supports the required protocols: 'HTTPS' 
. Please add the JAR of a matching connector to your classpath.


Thanks,

Nicho

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2647498

Reply via email to