AnsweredAssumed Answered

Access alfresco repository within alfresco.war

Question asked by bindiya on Feb 7, 2007
Hi

I need to access content from aflresco repository within alfresco.war. I have created jar file and placed it in default/lib directory and trying to accress method from that jar in one of the jsp page in alfresco.war.

This is the code in jar class file.

AuthenticationUtils.startSession("admin", "admin");


It thows exception stating
org.alfresco.webservice.util.WebServiceException: Error starting session.

I have placed webserviceclient.properties in /alfresco folder in the jar.

Can anyone help me with this.

Thanks in advance.

Bindiya

Outcomes