Re: Use of ClientResource inside a server resource

2010-09-13 Thread Alexander Kampmann
hi, does that configuration in web.xml even work, if FrameworkServlet is used instead of RestletServlet? I am using tomcat+spring on the Server- side and got problems which, in my eyes, are related to a missing protocol on server side. Btw: 1) Why isn't HTTP/1.1 added by default when using a S

Re: Use of ClientResource inside a server resource

2010-08-25 Thread Xavier Méhaut
Thanks Bruno 2010/8/25 Bruno Harbulot > Hi Xavier, > > In addition, if you're running the application within a servlet > environment, you can configure the clients by adding this in the web.xml > file: > > >org.restlet.clients >HTTP HTTPS CLAP FILE >

Re: Use of ClientResource inside a server resource

2010-08-25 Thread Bruno Harbulot
Hi Xavier, In addition, if you're running the application within a servlet environment, you can configure the clients by adding this in the web.xml file: org.restlet.clients HTTP HTTPS CLAP FILE (Adapt the param-value as you need, it's a space-

Re: Use of ClientResource inside a server resource

2010-08-25 Thread Fabian Mandelbaum
Ah, indeed you have to add all protocols you intend to support (FILE, HTTP, HTTPS...) as clients on the server. You are welcomed. Kind regards. On Wed, Aug 25, 2010 at 8:13 AM, Xavier Méhaut wrote: > Hi Fabian, > We succeeded actually  ; we've only forgottent to write > "getClients().addProtocol

Re: Use of ClientResource inside a server resource

2010-08-25 Thread Xavier Méhaut
Hi Fabian, We succeeded actually ; we've only forgottent to write "getClients().addProtocol(Protocol.HTTP)" on the server side ... thanks regards Xavier 2010/8/25 Fabian Mandelbaum > Hello Xavier, > > yes, you can, there shouldn't be any problems with this, at least AFAIK. > > On Tue, Aug 24, 2

Re: Use of ClientResource inside a server resource

2010-08-25 Thread Fabian Mandelbaum
Hello Xavier, yes, you can, there shouldn't be any problems with this, at least AFAIK. On Tue, Aug 24, 2010 at 6:09 AM, Xavier M. wrote: > Hello, > I would like to know if we can use a ClientResource call inside a server > resource, and if not, how to do this properly? > regards > Xavier > --

Use of ClientResource inside a server resource

2010-08-24 Thread Xavier M.
Hello, I would like to know if we can use a ClientResource call inside a server resource, and if not, how to do this properly? regards Xavier -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2650619