Thanks Thierry-
I added Engine.getInstance().getRegisteredClients().clear();
Engine.getInstance().getRegisteredClients().add(new
HttpClientHelper(new Client(Protocol.HTTP)));
Service myWCF = new
Service("http://digital-furnace.com/OtherMeta/webdataservice.svc/");
But no luck. Same outcome. No errors...but the objects are not getting loaded.
I do now get -
[WARNING][org.restlet] No available client connector supports the required
protocols: 'HTTP' . Please add the JAR of a matching connector to your
classpath.
But the correct JAR is in the classpath, as Protocol.HTTP is being resolved
from that JAR.
Thanks
Matthew
> Hello Matthew,
>
> I think your problem is due to the internal connector which does not
> work with Android (see
> http://restlet.tigris.org/issues/show_bug.cgi?id=304).
> Can you try by adding the net extension (org.restlet.ext.net;jar) to the
> classpath of your project with the following lines, for example in the
> onCreate() method.
> Engine.getInstance().getRegisteredClients().clear();
> // Add the "net" client connector
> Engine.getInstance().getRegisteredClients().add(new
> HttpClientHelper(new Client(Protocol.HTTP)));
> Note that this is a workaround since the connectors are nor properly
> discovered on the Android plate-form
> (http://restlet.tigris.org/issues/show_bug.cgi?id=941).
>
> Regarding the log, we will provide a "bridge" between the classic Logger
> and the android Log class.
>
> Best regards,
> Thierry Boileau
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2460828