Hi Chamika,
The only thing I could find about this issue is a thread [1] on the restlet
mailing list started by Fabio.
Maybe an upgrade to the latest version on restlet would fix this, but,
AFAIK, we are having problems [2] with the Annotations module and the new
version of restlet so I`m not sure when this upgrade could happen. But
still, due to the fact that the upgrade attempt was pretty recent, maybe
there's a chance of it happening soon (if the problems with Annotations are
easily fixable).
Thanks,
Eduard
-----------------
References:
[1]
http://restlet-code.1609877.n2.nabble.com/JAX-RS-and-JSon-td2733670.html
[2]
http://jira.xwiki.org/jira/browse/XWIKI-6632
On Sun, Jul 17, 2011 at 9:31 PM, Chamika Weerasinghe <chamikaw(a)gmail.com>wrote;wrote:
Hi all,
Thank you all for giving me help to develop xwiki-android-client and
passing
me in GSOC mid evaluation.
Since I've finished most of the xwiki android navigation features now I'm
working on adding other features which uses XWiki RESTful POST and PUT
methods.
There is really big problem here. Because until now I used json objects to
communicate with XWiki REST. But REST doesn't support accepting json
objects. Please correct me if I'm wrong.
If REST doesn't accept "application/json", I have to modify almost all the
classes in xwiki-android-rest to be worked with xml. Another drawback is
still REST doesn't provide "links" of the elements in json but xml
provides
it. Fabio described it here (
http://blog.fabiomancinelli.org/2011/03/07/XWikis_RESTful_API.html)
I selected json because it can be deserialized using gson which is the
smallest json deserializing library specially designed for Android.
But now I feel that moving from json to xml is the best option.
A light weight xml serialization library named simple-xml (
http://simple.sourceforge.net/) would be a feasible library for Android.
Should I proceed with xml using simple-xml or can you suggest me a better
option which saves my time from modifying classes?
Thank you,
Best Regards,
Chamika Weerasinghe
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs