On Sat, Jan 16, 2010 at 21:17, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
Hi Guys (and Fabio in particular),
I've struggled a bit to have a REST client written with Httpclient and Jaxb.
The micro sample on the wiki
(
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI) was not
correct (the parameter to JAXBContext.newInstance was wrong) and there was
no example for some other calls than GET a wiki page.
Finally when you write a sample using maven and jaxb you need the JAXB model
and this makes your maven dependency need the whole xwiki core as you need
xwiki-rest.
We should separate xwiki-rest-jaxb model in a separate JAR that does not
have other depencies than JAXB and provide a maven sample which is easy to
customize.
WDYT ?
Yes we already talked about that with Fabio, I guess he just did not
had time to do it yet.
Ludovic
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne