AnsweredAssumed Answered

Access all categories available in category management.

Question asked by shanmugaraja on Jun 18, 2007
Latest reply on Jun 18, 2007 by shanmugaraja
I am trying to access all categories in the category management through
Web services.

The following code is used how ever I am getting errors.   I am missing something in the path.  Any help is highly appreciated.

Thanks in advance


AuthenticationUtils.startSession("admin", "admin");
     Store storeRef = new Store(Constants.WORKSPACE_STORE, "SpacesStore");
     Reference reference = new Reference(storeRef, null, "/cm:generalclassifiable/*");
     Node[] nodes = WebServiceFactory.getRepositoryService().get(new Predicate(new Reference[]{reference}, storeRef, null));

Outcomes