On Thu, Jun 28, 2012 at 10:21 AM, Thomas Mortagne <[email protected]> wrote: > On Thu, Jun 28, 2012 at 10:17 AM, Patrycja Suchomska > <[email protected]> wrote: >> Dear Users, >> >> >> I have a problem with Xwiki's XMLRPC api. I'm using XWiki 4.0 and I >> want to add my own methods. I've read here >> http://www.mail-archive.com/[email protected]/msg08285.html that I can >> implement them in XWikiXmlRpcApi and XWikiXmlRpcApiImpl. I've found >> the interface here: >> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-xmlrpc/xwiki-platform-xmlrpc-model/src/main/java/org/xwiki/xmlrpc/XWikiXmlRpcApi.java >> >> But I couldn't find its implementation. After some googling I >> discovered it here: >> xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/xmlrpc/XWikiXmlRpcApiImpl.java >> and here is the source: >> http://permalink.gmane.org/gmane.comp.web.wiki.xwiki.scm/127394 >> >> I presume that the implementation is deprecated (it's in "oldcore" >> folder). My question is: is this interface also deprecated? How do I >> add a method to Xwiki's XMLRPC? > > The XMLRpC interface is slowly abandonned for the REST one so if > possible I would suggest you to move to the REST API which is already > a lot nicer and also make it a lot easier to extends with your own > REST resources.
See http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI > >> >> >> -- >> Regards >> Patricia Sz. >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
