Re: Restlet 1.1-RC1 in OSGi

2009-01-08 Thread Michael Terrington
Hi Eneko, I've found that the order the bundles are loaded in seems to be important somehow too. I haven't yet narrowed it down definitively though, but I think something like loading com.noelios then org.restlet then my bundle did the trick. In Equinox I had to delete the bundles and re-add the

Re: SpringBeanRouter issues

2009-01-08 Thread Rhett Sutphin
Hi, On Jan 8, 2009, at 10:14 AM, postmas...@tigris.org wrote: > Hi guys, > > Thanks for your hard work on Restlet with Spring integration, I am > able to integrate them according to the wiki, however I found two > issues > I used SpringServerServlet to load the Application from spring > con

SpringBeanRouter issues

2009-01-08 Thread postmaster
Hi guys, Thanks for your hard work on Restlet with Spring integration, I am able to integrate them according to the wiki, however I found two issues I used SpringServerServlet to load the Application from spring context configuration file appcontext.xml, and the root router is an instance of or

Re: return from acceptRepresentation

2009-01-08 Thread Stephen Groucutt
If you are working from inside a Resource subclass, you should be able to use getResponse().setEntity() to modify the body of the response that returns to the client. Is that what you're after? On Thu, Jan 8, 2009 at 10:46 AM, Kat Kat wrote: > Hello All, > > First I found Restlet a great REST f

return from acceptRepresentation

2009-01-08 Thread Kat Kat
Hello All, First I found Restlet a great REST framework in Java. I think I have a common requirement. We use acceptRepresentation method in a class that extends from Resource class to accept POST requests. This simple enough to use. To test, I did POST to a specific URL that maps to the above

RE: Restlet 1.1-RC1 in OSGi

2009-01-08 Thread eneko . taberna
I am the guy from the previous message. I forgot to write my email address, instead of "postmas...@tigris.org". Sorry for that. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1011766

Looking for a way to access Date header

2009-01-08 Thread Carlos Alexandre Moscoso
Hi, The link below is not clear whether this header is currently supported by the Restlet API: http://wiki.restlet.org/docs_1.1/13-restlet/27-restlet/130-restlet.html I tried to look in response.getDate but without success, so how are you guys doing to get the date associated with the server r

RE: Restlet 1.1-RC1 in OSGi

2009-01-08 Thread postmaster
Hello : I am having the same problem trying to integrate restlets with knopflefish OSGi. Bundles start ok, they seem to start the server as well, but when I do any GET or POST requests to the restful server, a big CNFE appears: SEVERE: Unable to create the HTTP server converter java.lang.ClassN