cancel
Showing results for 
Search instead for 
Did you mean: 

web service and java

bubblelicious
Champ in-the-making
Champ in-the-making
Hi,
I'm trying to access alfresco from a JAVA  application on an other server but  i don't understand how to implement web service

How did I connect to alfresco?

Do you have a example?

Thanks

Bubble
4 REPLIES 4

sam69
Champ in-the-making
Champ in-the-making
Hi,
There are plenty of example provided with alfresco.
Here is the Web Service wiki page :
http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services
And at the end, a link to download the web services example.

Regards,
Samuel

bubblelicious
Champ in-the-making
Champ in-the-making
Thanks sam for your answer
I already read those pages but I don't understand how you define the URL of the server

It explain  how to start a session but I don't understant how you initialise de connection to the web service

Regards,
Bubble

sam69
Champ in-the-making
Champ in-the-making
Did you manage to run the Alfresco's Web service examples ?
It's a good way to start. You just import the eclipse project (if you work with eclipse) and it should work if you have an alfresco server running and if you have the server properties (for the webservices client) configured..

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Look for the config file webserviceclient.properties in the Web Service Client project directory.

In there you will find the location of the Alfresco repository that the client code will connect to. 

Once you have changed it to match your setup, you will be able to execute the samples and unit tests.

Cheers,
Roy