09-15-2006 06:36 AM
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
09-18-2006 09:10 AM
private static final String DEFAULT_ENDPOINT_ADDRESS = "http://localhost:8080/alfresco/api";
instead of just "http://localhost:8080" in the previous versions.09-19-2006 04:01 AM
09-19-2006 09:40 AM
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
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.