Hi, Try: [your wiki]/xwiki/bin/xmlrpc/confluence1 Regards, Robin On 27/08/06, Fabricio Jailson Barth <[email protected]> wrote:
Hi Ludovic,
Thank you for the answer. But, I have another one.
What is the rpc path for the XWiki?
I wrote this code:
import org.apache.xmlrpc.XmlRpcClient; import org.apache.xmlrpc.XmlRpcException;
public class PrintPageThroughRPC {
public static final String JIRA_URI = "http://panteao.xwiki.com"; /** * This is wrong * */ public static final String RPC_PATH = "/rpc/xmlrpc"; public static final String USER_NAME = "xxxxxx"; public static final String PASSWORD = "xxxxxx";
public static void main(String[] args){ try{ System.out.println("Initialise RPC Client..."); XmlRpcClient rpcClient = new XmlRpcClient(JIRA_URI + RPC_PATH);
System.out.println("Login and retrieve logon token..."); Vector loginParams = new Vector(2); loginParams.add(USER_NAME); loginParams.add(PASSWORD); String loginToken = (String) rpcClient.execute("confluence1.login", loginParams);
System.out.println("Log out..."); Boolean bool = (Boolean) rpcClient.execute("confluence1.logout", loginTokenVector); System.out.println("Logout successful: " + bool);
....
Fabrício.
Ludovic Dubost escreveu:
Hi
http://www.xwiki.org/xwiki/bin/view/Dev/XWikiXMLRPC
Ludovic
Fabricio Jailson Barth a écrit :
How do i access the XML/RPC Remote API documentation?
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws