01-29-2009 02:14 PM
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();
}The code connects to localhost. What if I want to connect to 10.5.0.2 rather than localhost?
01-29-2009 05:21 PM
01-29-2009 08:29 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.