Hi All,
I am struggling in the user creation part of xwiki through xml rpc.
This is my code snippet to create a new user in xwiki..
String url =
"http://sso.isupport.com/xwiki/xmlrpc/confluence";
String user = "Admin";
String pass = "admin";
Confluence confObj = new Confluence(url);
confObj.login(user, pass);
User userObj = new User(new HashMap());
userObj.setEmail("shimy(a)gmail.com")com");
userObj.setFullname("shimyThomas");
userObj.setName("shimy");
confObj.addUser(userObj, "csscorp");
while running this an application i am getting the following error.. in
this specific line
confObj.addUser(userObj, "csscorp");
org.codehaus.swizzle.confluence.ConfluenceException: No such handler:
confluence1.addUser
at org.codehaus.swizzle.confluence.Confluence.call(Confluence.java:808)
at org.codehaus.swizzle.confluence.Confluence.call(Confluence.java:770)
at org.codehaus.swizzle.confluence.Confluence.addUser(Confluence.java:435)
at CreateUser.main(CreateUser.java:55)
Can anyone suggest me how to create a user? Kindly tell me is there any
bug in the code...
Thanks,
Nithya.
--
View this message in context:
http://n2.nabble.com/How-to-add-register-a-new-user-in-xwiki-through-xmlrpc…
Sent from the XWiki- Users mailing list archive at
Nabble.com.