RE: PUT requests return 405 code with @Put annotated method using 2.0.1 release

2010-10-07 Thread Juan Carlos Gonzalez
Hi Thierry. I'm using Restlet 2.0.1 GAE release. My annotated method looks like this: @Put Representation accept(Representation representation) My first test was with POST using a method like this: @Post void accept(Representation representation) but I got 405 status code when

RE: PUT requests return 405 code with @Put annotated method using 2.0.1 release

2010-10-07 Thread Juan Carlos Gonzalez
Hi Thierry. I've renamed the method to store but the problem remaims the same. If it could give you any hint, the response is including an Allow header like this: Allow: PUT Best regards, --

RE: Digest authentication example

2010-09-20 Thread Juan Carlos Gonzalez
Hi I think the problem was due to an old example when trying to build ChallengeResponse object. I've followed the example in: http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/46-restlet/112-restlet.html and is working fine now. KR, --

Digest authentication example

2010-09-17 Thread Juan Carlos Gonzalez
Hi, I'm trying to implement a simple example with Digest authentication. I've rewieved the tutorial and nearly translated it to my example. The problem is that when getting the Unauthorized response (after the first request for the secured resource), the ChallengeRequest object does not

CryptoUtil

2010-03-03 Thread Juan Carlos Gonzalez
Hi I've been reviewing some examples using Restlet and I'm interested in a CookieAuthenticator. I see that it was using org.restlet.engine.util.CryptoUtils package, but I can't find it on M7. Is this package supported in Restlet M7?. KR Juan Carlos González

OpenID support

2010-02-21 Thread Juan Carlos Gonzalez
Hi I'm trying to develop an application in GAE and I'd like to use Restlet framework. We have a hosted domain in Google and I was wondering if Restlet will support OpenId in a near future. It seems a natural option for authentication for developments over GAE. Best regards, Juan Carlos

RE: Jackson extension replaces XStream extension?

2010-02-21 Thread Juan Carlos Gonzalez
Hi Jerome, Thanks for your response. The problem was due to not including Jackson jar. Sorry, I'm a new comer to Restlet and Java (in that order) Anyway, I'd like to handle JSON and XML formats for my representations. Xstream integration with Restlet was promising, but Xtream has been

Jackson extension replaces XStream extension?

2010-02-01 Thread Juan Carlos Gonzalez
Hi, I'm implementing a RESTFul webservice in GAE. I've tried with Restlet 2.0 M6 and XStream, but got several problems. I've upgraded to Restlet 2.0 M7 and used Jackson extension. My question is related to automatic content handling, as when using XStream extension I was getting the proper