01-20-2009 04:14 AM
06-12-2009 02:43 AM
06-12-2009 05:38 AM
String alfrescoEndpointAddress = "http://localhost:8080/alfresco/api";
String username = "admin";
String password = "admin";
WebServiceFactory.setEndpointAddress(alfrescoEndpointAddress);
AuthenticationUtils.startSession(username, password);
try{
….
}
finally{
AuthenticationUtils.endSession();
…
}
Hope this helps.
05-27-2010 04:55 AM
I think that you have some problems with your network, or you are not addressing correctly your Alfresco Web Service Client.
So you can override the Alfresco Web Service Client endpoint address, adding the following instructions before start your business operations in the following way:Hope this helps.
String alfrescoEndpointAddress = "http://localhost:8080/alfresco/api";
String username = "admin";
String password = "admin";
WebServiceFactory.setEndpointAddress(alfrescoEndpointAddress);
AuthenticationUtils.startSession(username, password);
try{
….
}
finally{
AuthenticationUtils.endSession();
…
}
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.