AnsweredAssumed Answered

exception while connecting to alfresco share repository?

Question asked by madhurao on Jul 20, 2009
Latest reply on Jul 20, 2009 by mikeh
Hello Friends,

I have written code to connect Share Client repository(see below code) using WebService API but it giving an exception as org.alfresco.webservice.util.WebServiceException: Error starting session.
   at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:94)
   at org.alfresco.sample.webservice.Test.main(Test.java:18)
Caused by: (404)Not Found

PSB code written to connect Repository:-
WebServiceFactory.setEndpointAddress("http://localhost:8080/share/api");
AuthenticationUtils.startSession("admin", "admin");

Is it possible to create sitepage, create discussion and create Links using webservice api?

Thanks,
Madhu

Outcomes