And also, we just discovered that adding a new page does not work as mentioned in XMLRPC API spec. No matter what parameters we pass into storePage() method, it always updates the Main.WebHome page (no page is added). This is a real blocker for us, please help us out....

And also, there is the concern that errors returned from the server has no error code or something like that. This is preventing us from displaying any useful information to the user. Currently we're dumping those exceptions directly into user...

Thanks.

- Asiri

On 7/14/07, tharindu jayasuriya <djtharindu@gmail.com> wrote:
Hi All,

To have more details regarding the issue, I'll provide the server exception also............

10:00:34,519 ERROR P1-19 http://localhost:8080/xwiki/xmlrpc/confluence XmlRpcStreamServer:execute:188 - execute: Error while performing request
org.apache.xmlrpc.server.XmlRpcNoSuchHandlerException: No such handler: confluence1.removePage
       at org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.getHandler(AbstractReflectiveHandlerMapping.java:195)
       at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:42)
       at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
       at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
       at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute (XmlRpcServletServer.java:103)
       at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
       at javax.servlet.http.HttpServlet.service (HttpServlet.java:689)
       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
       at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
       at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
       at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
       at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
       at org.mortbay.http.HttpContext.handle (HttpContext.java:1565)
       at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
       at org.mortbay.http.HttpServer.service (HttpServer.java:954)
       at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983



Thanks
-Tharindu


On 7/14/07, tharindu jayasuriya < djtharindu@gmail.com> wrote:
Hi All,

I implemented the Boolean removeSpace(String token, String spaceKey) XML-RPC and executed that method. Then I got
get an exception saying, "No such handler: confluence1.removePage". It seems like that removePage XMLRPC does not seem to be implemented on the server. Any help for this concern is highly appriciated.

Here is the full stack-trace.....................

org.apache.xmlrpc.XmlRpcException: No such handler: confluence1.removePage
       at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse (XmlRpcStreamTransport.java:184)
       at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:145)
       at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java :94)
       at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:39)
       at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53)
       at org.apache.xmlrpc.client.XmlRpcClient.execute (XmlRpcClient.java:166)
       at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:157)
       at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:146)
       at org.xwiki.plugins.eclipse.rpc.impl.XWikiRPCHandler.rpcCall (XWikiRPCHandler.java:79)
       at org.xwiki.plugins.eclipse.rpc.impl.XWikiRPCHandler.removePage(XWikiRPCHandler.java:146)
       at org.xwiki.plugins.eclipse.model.impl.XWikiSpace.removeChildPage(XWikiSpace.java :408)
       at org.xwiki.plugins.eclipse.model.wrappers.XWikiSpaceWrapper$3.run(XWikiSpaceWrapper.java:271)
       at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

Thanks
-Tharindu



--
You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list.
To unsubscribe: mailto: xwiki-dev-unsubscribe@objectweb.org
For general help: mailto: sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws