Serialize a ressource in XML format

2008-04-10 Thread Ludovic chaplin
Hi, I'd like to know if there a tool in Restlet (or else) to easily serialize ressources in XML. Something like XStream but that is using template URIs for linked ressources instead of the full objects. XStream give me that : city nameParis/name code75056/code department nameParis/name

RE: How do I switch off log output?

2008-04-10 Thread Jerome Louvel
Hi Steve, Thanks, I've updated the wiki: http://wiki.restlet.org/docs_1.1/g1/13-restlet/29-restlet/98-restlet/101-res tlet.html Rhett has also added details for the Spring framework. Best regards, Jerome -Message d'origine- De : Steve Loughran [mailto:[EMAIL PROTECTED] Envoyé :

Re: Can Rest handles complex posts?

2008-04-10 Thread Stephan Koops
Hi Surjendu, If you mean a html form ... , you can use form ... method=POST input name=user1.firstName / input name=user1.lastName / input name=user1.email / input name=user1.birthDate / input name=user2.firstName / input name=user2.lastName / input name=user2.email / input

Re: First resource page

2008-04-10 Thread Thierry Boileau
Hello Tim, thanks a lot for your feed-back. We fully agree with you and have updated the page and source code. best regards, Thierry Boileau This is a nice bit of documentation by example -- I'm glad you added it. FirstResourceApplication is not thread-safe, however. I know you want the

Unit testing code coverage

2008-04-10 Thread Bao,Sam
I was wondering how are you guys unit testing for code coverage with restlet applications and resources? I ask this because, I've tried using a couple of different code coverage eclipse plugins, and using restlet Client over Http, I can unit test my application, but I can not achieve any kind

Re: Unit testing code coverage

2008-04-10 Thread Stephan Koops
Hi Sam, as you perhaps know, I'm implementing the JAX-RS extension and wrote a lot of unit tests. But I do not check, if all code is covered. BTW: It's not required that you use a real TCP client for testing: You can give the application directly your requests. So you save a LOT of time,

Re: Help! Weird timeout on GET to Restlet API

2008-04-10 Thread Ian Clarke
On Tue, Apr 8, 2008 at 8:38 AM, Rob Heittman [EMAIL PROTECTED] wrote: Since one of the main objectives of 1.1 has been to respond to issues that confuse or frustrate people coming to the platform, the changes in 1.1 are extremely on point for the needs of a new Restlet user. Ok, I'll take your