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:
<context-param>
<param-name>org.restlet.clients</param-name>
<param-value>HTTP HTTPS CLAP FILE</param-value>
</context-param>
(Adapt the param-value as you need, it's a space-separated list of
protocols.)
Best wishes,
Bruno.
On 25/08/10 12:13, Xavier Méhaut wrote:
> 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 <[email protected]
> <mailto:[email protected]>>
>
> 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. <[email protected]
> <mailto:[email protected]>> 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
> >
>
>
>
> --
> Fabián Mandelbaum
> IS Engineer
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2651067
>
> <http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2651067>
>
>
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2651196