Hello again,

2/ As you can see, my sample code is almost the same as the code used in the 
example part dedicated to json. I just copy/paste this part.
That's why I don't understand why I got a null response. Is the request really 
performed? Could the target service be reached? Was there an exception?
I'm a bit disappointed because I'am able to get the result by browsing the 
ressource url in my browser. At this time, I have no clue to investigate any 
more.
Do you have any idea about this?

3/ Thanks a lot for the explanation. I now see the difference between 
client-side and server-side redirections. Unfortunately, the redirection 
doesn't work with "MODE_CLIENT_DI​SPATCHER".
I got the following message when trying to browse directly (as it's not yet 
working inside my gwt app): "org.restlet.engine.component.ClientRouter getNext 
WARNING: The protocol used by this request is not declared in the list of 
client connectors. (HTTP)"
I tried to add this line 
("getConnectorService().getClientProtocols().add(Protocol.HTTP);") in 
myRedirector/createInboundRoot() but I still got the same warning.
Should I retrieve a reference to ClientRouter? How?

Thanks for your help.

Regards,
Christophe.

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

Reply via email to