This is my first reslet service-client app. My service responds to a get request, and is running under a tomcat instance which accepts only https.
I am trying to write a java client which calls the web service. all the following circumstances work. -access service using browser using http and also https. Using https, I can access my service using a browser. I will have to accept the exception in firefox tough. -java client using http. But i am not able to have my java client call the service using https So i followed the instructions in "configuring https " http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/46-restlet/213-restlet.pdf and also followed the thread HTTP over SSL. http://restlet.tigris.org/ds/viewMessage.do?dsMessageId=2610413&dsForumId=4447 I have imported the cert into my client jvm cacerts using keytool as mentioned in the instructions in the above link. Here is the code which I am using on my client side. System.setProperty("javax.net.ssl.trustStore", "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib/security/cacerts"); String uri = "https://xyz:8443/webservice/get"; ClientResource clientResource = new ClientResource(new Context(), new Reference(uri)); clientResource.setProtocol(Protocol.HTTPS); clientResource.get(); if (clientResource.getStatus().isSuccess() && clientResource.getResponseEntity().isAvailable()) { Representation rep = clientResource.getResponseEntity(); } I am getting the following error at this step: clientResource.get(); Version Not Supported (505) - HTTP Version Not Supported at org.restlet.resource.ClientResource.get(ClientResource.java:452) Not sure what the error means. any help is appreciated. Also earlier today I have posted a topic without logging, it never made it to the discussion topics, wondering if its awaiting approval. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2618093

