I have a GAE app and I'm trying to make an outbound HTTP GET request (using the
ROME extension). I've added the org.restlet.ext.net.jar file to my classpath
as described in sectino 8.5.2 of the Restlet in Action book, but when I make
the get() call below:
ClientResource resource = new ClientResource(feed.getUrl());
SyndFeed rssFeed = resource.get(SyndFeed.class);
ChildClientDispacher.doHandle() reports the following:
FINE: The protocol used by this request is not declared in the application's
connector service. Please update the list of client connectors used by your
application and restart it.
I can see that the ConnectorService attached to my Application doesn't support
any protocols. It looks to me that the HttpClientHelper class in
org.restlet.ext.net.jar is supposed to take care of adding protocols in its
constructor, and I have verified that that constructor IS getting called, but
it's getting called prior to the creation of my Application, so I think maybe
I'm missing a step that would wire the protocols established by the
HttpClientHelper constructor to my Application instance.
Any advice? Thanks.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2891630