Hi Christophe,

2/ Are you able to trace the pair of request/response (you can the 
firebug or livehttpheaders module for firefox, or wireshark)? It can 
help to figure out what happens.

3/ I think this is due to the fact that the Component acts as the unique 
access point to the outside (see this picture: 
http://www.restlet.org/documentation/2.0/tutorial#part05). You must 
complete the set of needed/supported connectors of the Component:
component.getClients().add(Protocol.HTTP);

This line 
"getConnectorService().getClientProtocols().add(Protocol.HTTP);" is used 
by the application to declares its required client protocols... This 
seems to be a lack of documentation...

Best regards,
Thierry Boileau


> 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Ć¢EUR

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

Reply via email to