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 ? Ludovic -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
<<attachment: ludovic.vcf>>
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

