Hi Tharindu and Asiri,
tharindu jayasuriya wrote:
Hi All,
We ( myself and Asiri ) have implemented the logging and xwiki
navigation components of the above plug-in. We have tested the
components on a local installation but need a remote url (confluence)
to test it further.
I tested it as well, nice work already!
We tried to connect to
www.xwiki.org
<http://www.xwiki.org> using our
usernames and passwords but could not connect ( verfied with
XMLRPCExample too ). Is it not possible to connect to
www.xwiki.org
<http://www.xwiki.org> with XML RPC ? if it is possible, can any of
you give us the correct url ?
On
xwiki.org, I can connect using the XWikiLoginClient from [1], but I
get the following error:
=========
Exception while reading document XWiki.XWikiServerXwikiorg10
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.XWikiDocument#-373283968]
=========
This is apparently due to the fact that the class
BaseRcpHandler.getXWikiContext method is still setting the database to
"xwikitest". Removing that setting fixes the problem. There's a Jira
issue about it [2], which I'll reopen to continue the discussion.
I then ran XWiki-Eclipse against the following updated server and it
worked fine:
http://mandriva.edos-project/xwiki/xmlrpc/confluence
[1]
http://www.xwiki.org/xwiki/bin/view/UserGuide/XMLRPCExample
[2]
http://jira.xwiki.org/jira/browse/XWIKI-738
One more thing, the XMLRPCExample uses the server url
http://<server>/xwiki/xmlrpc/confluence. We followed the same
convention and get user input for the <server> part only (append the
rest). Is it ok to do this ? or shall we let the user to provide
whole url ?
I'd say it's better to keep the query path as a configuration parameter
indeed, but I don't know what the others think. What would the user need
to modify that part of the URL after all?
Looking forward to editing XWiki documents from Eclipse :-)
Cheers
Stéphane
Thanks a million.
- Tharindu & Asiri