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));