On Jul 18, 2007, at 8:50 PM, Asiri Rathnayake wrote:
[snip]
---------- Forwarded message ----------
From: Asiri Rathnayake <asiri.rathnayake@gmail.com>
Date: Jul 18, 2007 9:37 AM
Subject: About XWiki XMLRPC
To: xwiki-dev@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
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.
We need to align it. You can create JIRA issues and submit patches for that, thanks.
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.
Which is that?
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.
Cool. I think I've also fixed that today (but not committed yet as it's part of a bigger commit). It was using "newdoc" instead of "document". Is that the one? Please feel free to create a jira issue for this too.
5. I also noted that there is a XWiki specific XMLRPC API too (which is very limited).
Ah, didn't know about this...
Does someone know if we want to keep it? I think we should dump it. Does it do anything that the confluence xmlrpc doesn't do?
Thanks
-Vincent
So, if any of you have any concerns, thoughts, opinions, please throw them in. I'll create the JIRA issues little later.
Thanks.
- Asiri