Hi,
Try: [your wiki]/xwiki/bin/xmlrpc/confluence1
Regards,
Robin
On 27/08/06, Fabricio Jailson Barth <fabricio.barth(a)poli.usp.br> 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
xwiki-dev(a)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
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)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
--
You receive this message as a subscriber of the xwiki-dev(a)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