RE: How do I get DOMRepresentation from Response in restlet 2.0

2010-12-03 Thread webpost
As long as the response is valid xml, you can just use DomRepresentaion dom = new DomRepresentation(response.getEntity()) -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2687633

RE: Serialization example: NoSuchMethodError on Router.attach

2010-12-03 Thread webpost
Thierry, I also see this error. Please find a description below. The example code that you provided in the ZIP didn't use router.attachDefault AFAICS ?? and that what I (and Dennis are using) ? Everything works fine if I use the 2.0.3 restlet JARs, but when I use the same JARs from v2.1 I get

Programmatically accept SSL certificates possible?

2010-12-03 Thread Jens Rabe
Hi! Is it possible to programmatically obtain an SSL certificate when using ClientResource with HTTPS? I want to do a similar thing like a browser does when the certificate is not found: I want to display a question dialog if the "untrusted" certificate should be allowed for this session. If t