AnsweredAssumed Answered

SDK 1.4 Preview: Errors trying to run Samples

Question asked by osu on Sep 15, 2006
Latest reply on Sep 19, 2006 by osu

has anyone tried out the samples with the SDK 1.4 Preview?

I had to correct a couple of the dependency jars in the eclipse projects provided (mostly due to naming/version issues in the jars).

Now, the the projects finally build without errors, but I am getting the following exception when trying to run any of the samples:

Exception in thread "main" org.alfresco.webservice.util.WebServiceException: Error starting session.
   at org.alfresco.webservice.util.AuthenticationUtils.startSession(
   at org.alfresco.sample.webservice.GetStores.main(
Caused by: (404)/AuthenticationService
   at org.apache.axis.transport.http.HTTPSender.readFromSocket(
   at org.apache.axis.transport.http.HTTPSender.invoke(
   at org.apache.axis.strategies.InvocationStrategy.visit(
   at org.apache.axis.SimpleChain.doVisiting(
   at org.apache.axis.SimpleChain.invoke(
   at org.apache.axis.client.AxisClient.invoke(
   at org.apache.axis.client.Call.invokeEngine(
   at org.apache.axis.client.Call.invoke(
   at org.apache.axis.client.Call.invoke(
   at org.apache.axis.client.Call.invoke(
   at org.apache.axis.client.Call.invoke(
   at org.alfresco.webservice.authentication.AuthenticationServiceSoapBindingStub.startSession(
   at org.alfresco.webservice.util.AuthenticationUtils.startSession(
   … 1 more

The sample is run from my local workstation with the SDK 1.4 preview workspace against a windows box with a 1.4 preview community edition (fresh install). The web client on that box is running fine, by the way.

I have a similar setup with all 1.3 where the problem does not occur and the samples are running fine.

Any idea what is going on there?

Thanks for the good work so far. Looking forward to your hints.