Hi all, I think XWiki is picking up the wrong database name for XMLRPC requests (see http://jira.xwiki.org/jira/browse/XWIKI-738 ). I'd like to fix this, but can't establish how to get the correct database name in the code. Elsewhere, it is either obtained from an XWikiContext or XWiki object (which are not available in the RpcHandler), or it is hardcoded to "xwiki". This feels wrong since it could be set by the user in hibernate.cfg.xml. What's the correct approach? :) Cheers, Robin. On 11/01/07, Robin Fernandes <[email protected]> wrote:
Hi all,
Has XMLRPC been disabled on xwiki.com?
I used to access http://openmpt.xwiki.com/xwiki/bin/xmlrpc/confluence but that has gone away
Looking at the XMLRPC tests in the code, it seems the RPC url has moved to http://<server>/xwiki/xmlrpc, but accessing http://openmpt.xwiki.com/xwiki/xmlrpc results in:
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: Failed to invoke method login in class com.xpn.xwiki.xmlrpc.ConfluenceRpcHandler: Error number 2 in 0: The wiki openmpt does not exist at org.apache.xmlrpc.XmlRpcClient$Worker.execute(Unknown Source) at org.apache.xmlrpc.XmlRpcClient.execute(Unknown Source) [...]
Any ideas?
By the way, I also tried XMLRPC on a local copy from svn trunk and couldn't get it to work. I haven't done much debugging yet, so it could be an env problem on my side. But here's the error in case someone has seen it before:
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: Failed to instantiate class com.xpn.xwiki.xmlrpc.ConfluenceRpcHandler at org.apache.xmlrpc.XmlRpcClient$Worker.execute(Unknown Source) at org.apache.xmlrpc.XmlRpcClient.execute(Unknown Source) [...]
Regards, Robin
participants (1)
-
Robin Fernandes