AnsweredAssumed Answered

Unhandled exception type Authentication Fault

Question asked by zengqingyi12 on May 14, 2009
Latest reply on Dec 29, 2010 by nguyenhoathuan
Hi, right now i want to write a web service.
And I try to run WebserviceSample    Categories, but it has such exceptions:

Exception in thread "main" java.lang.Error: Unresolved compilation problems:
   Unhandled exception type AuthenticationFault
   Unhandled exception type ClassificationFault
   Unhandled exception type ClassificationFault
   Unhandled exception type RepositoryFault

   at org.alfresco.sample.webservice.Categories.main(Categories.java:55)
I have start the alfresco server. And set the entry point to  
WebServiceFactory.setEndpointAddress("http://localhost:8080/alfresco/api");
#
# Set the following property to reference the Alfresco server endpoint that you would like web service client
# to communicate with
repository.location=http://localhost:8080/alfresco/api
# Set this property if your WAR file has a different name
repository.webapp=alfresco

How can i figure out this issue?

Outcomes