cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up environment to use Web Services

blackadder
Champ in-the-making
Champ in-the-making
Hi,
I want to use Alfresco web services in my webapp, running on Tomcat 5.5.

I want to know what I need to do to use Alfresco ws.
I already imported the web-service-client and all the dependencies libraries.
I also put the webserviceclient.properties file with my repository server address in my classes folder.
When testing the start session service, I get a WebServiceException. It seems to me I can't connect to the repository. Is my webserviceclient.properties file at the right place?
Is there something else I need to do?
thx
Matt
4 REPLIES 4

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

This may be an issue that has already been raised.

What version are you using?

Cheers,
Roy

blackadder
Champ in-the-making
Champ in-the-making
Hello,
I'm using alfresco version 1.3.0,
I've seen similar issues in the forums but none of the answers helped me.

I managed to run succesfully the samples from the sdk, but now I'm trying to integrate the Alfresco's web services in my project.
I put my webserviceclient properties file in the "classes/alfresco" folder but the application always use localhost:8080 as the Alfresco repository address.

Thank you,
Matt

scottp
Champ in-the-making
Champ in-the-making
This appears to have been identified as a bug against version 1.2 back in May. (http://issues.alfresco.com/browse/AR-589)

A fix was identified and the status is Resolved, but I found the original code that causes this problem still in the alfresco-community-sdk-1.3.0 source.

Anyone have an ant script to rebuild the web-service-client.jar?

blackadder
Champ in-the-making
Champ in-the-making
OK, it has been fixed for the version 1.4.0.

Thanks for the help