cancel
Showing results for 
Search instead for 
Did you mean: 

Authenticate Failure: (404)/AuthenticationService

manmeet
Champ in-the-making
Champ in-the-making
Hi All,

I am trying to run the FirstWebServiceClient from the alfresco-community-sdk-1.4.0.zip

Using the Jboss budle of alfresco.
Started Alfresco and then ran the webservice client, but get teh below exception.

Can anyone tell me why I receive such an exception?

Any answers in this regard shall be appreciated.

Thanks,
Manmeet Bhavsar


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.FirstWebServiceClient.main(FirstWebServiceClient.java:55)
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
1 REPLY 1

manmeet
Champ in-the-making
Champ in-the-making
Solution is the change the repository.location entry in the
webservicecleint.properties to
repository.location=http://hostSmiley Tongueort/alfresco/api