Calling Restful web service within a Restful Web Service

2011-07-28 Thread Venkat Veludandi
Good afternoon. It was not intended but it forced us to call a restful web service within a restful web service. For example RWS1 in projectA deployed on server1 is calling RWS2 in projectB deployed on server2. I just wanted to find what could be disadvantes/cons by doing this. Thanks Venkat

RE: Behavior when no media type specified

2011-07-28 Thread Dennis Welu
Doh! I think I found the answer thread: http://restlet-discuss.1400322.n2.nabble.com/automated-conversion-from-java-object-to-json-td3584962.html Sorry for adding noise to the discussion board... --

RE: Series.getValuesAsArray throws null pointer

2011-07-28 Thread Jerome Louvel
Hi Martin, I've just fixed this regression in SVN trunk. Note that it's better to use the c...@restlet.tigris.org mailing list to discuss such issues (or enter defect reports in Tigris.org tracket). Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios

Re: ClientResource leaves inactive thread

2011-07-28 Thread Matt Kennedy
I'm not clear from the question if you're asking about the number of task threads as Tim has explained, or the number of http listener threads, for that use: Server httpServer = new Server(Protocol.HTTP, port); serviceComponent.getServers().add(httpServer);

RE: templates in ClientResource?

2011-07-28 Thread Jerome Louvel
Hi Andrei, Thanks for creating the bug report. Here it is: http://restlet.tigris.org/issues/show_bug.cgi?id=1285 This looks like a serious one to fix ! Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org/ http://www.restlet.o​rg Noelios Technologies

Re: ClientResource leaves inactive thread

2011-07-28 Thread Tim Peierls
Oh ... that's probably what the original question was asking about. I just jumped reflexively on the phrase thread pool. Sorry... --tim On Thu, Jul 28, 2011 at 8:40 AM, Matt Kennedy stinkym...@gmail.com wrote: I'm not clear from the question if you're asking about the number of task threads

RE: Server configuration problem - outbound root not configured

2011-07-28 Thread John Wismar
Once again you've been an enormous help. By removing the Context from the Application constructor, I've moved from having errors that I don't understand to having errors that I expected. I consider this a step in the right direction (Not sure what the Context is supposed to be doing