[xwiki-dev] XML/RPC oddities
Fabrício J. Barth
fabricio.barth at poli.usp.br
Thu Apr 26 15:58:04 CEST 2007
It's a very good example!
I used this example in my local xwiki and works very well. But, if I
change the properties and put a xwiki address, for example,
panteao.xwiki.com or projetoftn.xwiki.com, the example and my
application that uses xml-rpc doesn't work.
When I execute the application I get the problem:
org.apache.xmlrpc.XmlRpcException: Failed to invoke method login in
class com.xpn.xwiki.xmlrpc.ConfluenceRpcHandler: Error number 2 in 0:
The wiki noctua does not exist
I don't know what to do. Probably the problem is in the server side.
What I can do to solve this problem?
Fabrício.
Em Qui, 2007-04-19 às 15:43 +0200, François Déchelle escreveu:
> Hello,
>
> I made a simple example using XWiki XML/RPC API, and I'm facing
> something bizarre.
>
> The example is located at:
> http://www.xwiki.org/xwiki/bin/view/UserGuide/XMLRPCExample
>
> It's a work in progress; is it OK to put it on www.xwiki.org user guide?
> The idea is to make it a reusable example of XML/RCP API use.
>
> The archive contains the source code, an Ant build file to compile and
> run the example, an Eclipse project.
>
> I do the following:
> 1- I run 'ant login': result is ok
> 2- I run 'ant create': result is ok, seen from the XML/RPC client side
> 3- I visit Sandbox.WebHome using firefox: Test page appears in Sandbox
> space pages, but as a link to a non existing page; clicking on the link
> brings to editing an empty page
> 4- I run 'ant get': the page is received ok, with same content as when
> created (i.e. "This content was created by XMLRPC")
> 5- I visit Sandbox.WebHome using firefox: same as before. Clearing the
> cache, quitting firefox does not change anything
> 6- I run 'ant edit': the page is edited ok
> 7- I run 'ant get': the content is correct w.r.t. previous editing
> 8- I visit Sandbox.WebHome with firefox: idem as before (page
> Sandbox.Test is non existant)
> 9- I restart Tomcat
> 10- I visit Sandbox.WebHome with firefox: page is there
> 11- I visit Sandbox.Test with firefox: content is correct
>
> Looks like a cache problem, but where?
>
> The source code of the example may seem unnecessarily complicated (use
> of properties, separation in several classes), but the idea is to move
> it to Ant task easily.
>
> Any idea?
>
> François
>
> anexo Documento somente texto (message-footer.txt)
> --
> You receive this message as a subscriber of the xwiki-dev at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
More information about the devs
mailing list