From: Lawrence A. <la...@us...> - 2002-09-03 21:08:16
|
On Tuesday, September 3, 2002, 8:08:06 PM, Jeff Dairiki wrote: JD> I think the XML-RPC idea is great. (Out of curiousity, are there any JD> other "standard" wiki RPC API's besides the one at JSPWiki?) Not that I know of. The JSPWiki "standard" has been implemented for Twiki, Moin Moin and Openwiki (I think), but there are slight variations in the functionality available JD> Sadly, I can't get http://phpwiki.sourceforge.net/demo/RPC2.php JD> to work. (All I get is 'Unknown Method' errors.) What method are you trying to call? Did you prefix it with "wiki." eg wiki.getAllPages Try this link: http://www.dscpl.com.au/xmlrpc-debugger.php?method=wiki.getAllPages¶ms=()&url=http://phpwiki.sourceforge.net/demo/RPC2.php Don't forget to click execute. JD> I've tried pointing the XML-RPC validator at JD> http://validator.xmlrpc.com/ JD> at the demo server, and it, too, failed with 'Unknown Method' on all JD> it's tests. (The validator passes on JD> http://xmlrpc.usefulinc.com:80/demo/server.php, which is the JD> demo site for the PHP XML-RPC library you're using...) This had be confused for a while too. In fact it is because the validator works by calling certain test methods - see http://www.xmlrpc.com/validator1Docs The idea is that if you write a library, you can test it by implementing the methods within a test script and then and using the validator. It is the server code, not the library which has to implement the methods. I have not written handlers for the validator methods (life's too short) so the phpwiki server does not pass the test. JD> Any ideas on what might be wrong? Let me know if you have any other problems. |