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.
Exception in thread "main" org.alfresco.webservice.util.WebServiceException: Error starting session. at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:85) at org.alfresco.sample.webservice.GetStores.main(GetStores.java:42) Caused by: (404)/AuthenticationService at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.alfresco.webservice.authentication.AuthenticationServiceSoapBindingStub.startSession(AuthenticationServiceSoapBindingStub.java:187) at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:70) … 1 more
private static final String DEFAULT_ENDPOINT_ADDRESS = "http://localhost:8080/alfresco/api";
so I changed the repository.location in webserviceclient.properties and add /alfresco/api at the end of the repository address and now it's working fine.It seems the Alfresco team forgot to update this file in the SDK.Cheers,Matthieu