As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
AuthenticationUtils.startSession(user, pwd); Store store = new Store(StoreEnum.workspace, "SpacesStore"); Reference reference = new Reference(store,uuid,null); Predicate predicate = new Predicate(new Reference[]{reference}, store, null); RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();//At this line it is not able to get the nodes. *** Node[] nodes = repositoryService.get(predicate); ContentServiceSoapBindingStub contentService = WebServiceFactory.getContentService(); Content[] readResult = contentService.read(predicate,Constants.PROP_CONTENT); fileName = Calendar.getInstance().getTime().toString()+".out"; File filePath = new File(dirName,fileName); ContentUtils.copyContentToFile(readResult[0],finalFilePath);AuthenticationUtils.endSession();