Hi Team, I am not able to create virtual xwiki through the XwikiManagerPluginAPI. I have developed just sample restful web service. Below is the code which I am using to create virtual xwiki :- @Component("org.sisgma.xwiki.rest.HelloWorldResource") @Path("/hello/") public class HelloWorldResource extends XWikiResource { public HelloWorldResource(){ } @GET public String get(@DefaultValue("world") String myresourcename) throws XWikiException, QueryException { XWikiContext ctx = Utils.getXWikiContext(componentManager); try { WikiManagerPluginApi aoi = (WikiManagerPluginApi)ctx.getWiki().getPluginApi(WikiManagerPlugin.PLUGIN_NAME, ctx); ctx.setDoc(new XWikiDocument(new DocumentReference("jaspreet", "space", "page"))); System.out.println("_____________********* deleting xwiki"); aoi.deleteWiki("neenu", true); aoi.deleteWiki("neenu1", true); aoi.deleteWiki("karam", true); System.out.println("_____________********* deleted xwikies"); System.out.println("_____________********* Creating new xwiki"); aoi.createNewWiki("jaspreet", "templatexe", null,aoi.createWikiDocument(), true); } catch (XWikiException e) { e.printStackTrace(); } System.out.println("_____________********* " +ctx); System.out.println("_____________"+ctx); return "Hello " + myresourcename; } } Above code is not working. Virtual xwiki is not being created using the API. It is very urgent. Please help. Thanks Karamjit.