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.
String userID = "admin"; String password = "admin"; try { AuthenticationUtils.startSession(userID, password); // Get the content and authoring service RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService(); for (Store aStore : repositoryService.getStores()) { System.out.println("[Store Address: " + aStore.getAddress() + "][Store Scheme: " + aStore.getScheme() + "]"); } } catch (Exception ex) { ex.printStackTrace(); } finally { AuthenticationUtils.endSession(); }