RE: Version 2: How to get XML representation

2011-08-26 Thread Jerome Louvel
Hi Ivano, Another option would be to do: Document doc = resource.get(Document.class); That should just works with automagic conversion :) Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~ http://www.noelios.com -Message

Re: JAX-RS simple binary file download

2011-08-26 Thread Stephan Koops
Hi Pete, this should work. Do you checked it with the debugger? best regards    Stephan -Ursprüngliche Nachricht- Von: "Peter Murray" Gesendet: 25.08.2011 16:22:33 An: discuss@restlet.tigris.org Betreff: JAX-RS simple binary file download >Greetings folks, > >I'm trying to implement a

Re: Version 2: How to get XML representation

2011-08-26 Thread Alex Milowski
On Fri, Aug 26, 2011 at 1:05 AM, Jerome Louvel wrote: > Hi Ivano, > > Another option would be to do: > >        Document doc = resource.get(Document.class); > > That should just works with automagic conversion :) > That is some magic! I just took a look at this page on the ConverterService:

RE: Version 2: How to get XML representation

2011-08-26 Thread Jerome Louvel
Hi Alex, Definitely, the user guide is scarce in some areas... Currently, we try to finish the "Restlet in Action" book which goes into more details with examples about such features. Then, in v 2.2 we'll continue expanding the documentation progressively, but would welcome contributions to the