I'm re-sending this email because i just heard that mailing list was down
for past two days. Please excuse me If you receive this mail twice.
Thanks.
- Asiri
---------- Forwarded message ----------
From: Asiri Rathnayake <asiri.rathnayake(a)gmail.com>
Date: Jul 18, 2007 9:37 AM
Subject: About XWiki XMLRPC
To: xwiki-dev(a)objectweb.org
Hi all,
After going through xwiki sources, I finally managed to fix the issues with
XMLRPC. But before opening up any JIRA issues or submitting patches, i
thought it would be better to get some feedback. Following are my
observations on XMLRPCs,
1. XWiki's XMLRPC implementation does not map one-to-one with the given
documentation<http://confluence.atlassian.com/display/DOC/Remote+API+Spe…
Ex.
- in XWiki, there is no method as removePage(), instead we have deletePage()
- in XWiki, there is no method as removeSpace() but it's achieved by
deleting all the child pages.
2. Some XMLRPCs are not implemented. But these are not used used in Xeclipse
(yet), so i didn't pay much attention to them.
3. One XMLRPC call threw an exception when it's return type was 'void'. I
changed this one to 'boolean' and everything works fine. I don't know why
this happens though.
4. storePage() RPC had a problem which makes it override other pages when
trying to save a newly created page. I think this is a typo, anyway, it's
fixed.
5. I also noted that there is a XWiki specific XMLRPC API too (which is very
limited).
So, if any of you have any concerns, thoughts, opinions, please throw them
in. I'll create the JIRA issues little later.
Thanks.
- Asiri