Hello,

I suppose that your application is contained inside a component. In this 
case, all client calls that start from within the Component are actually 
handled by its available client connectors (see here 
http://www.restlet.org/documentation/2.0/tutorial#part05).
That means that you need to declare this client connector:
component.getClients().add(Protocol.HTTP);

Best regards,
Thierry Boileau

> Hello!
>
> I tried to create a resource that behaves like a proxy. The client sends an 
> url and the server loads the url and sends the data to the client.
>
> I extended a ServerResource and created a new ClientResource inside to fetch 
> a specific url and pass the data to the client. But this doesn't work:
> "The protocol used by this request is not declared in the list of client 
> connectors. (HTTP)"
>
> Where is the mistake? Is there an easier/better way to behave like a proxy?
>
> Thank you very much :)
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2435202
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2435213

Reply via email to