cancel
Showing results for 
Search instead for 
Did you mean: 

Access remotely Alfresco with Web Service

alcazar
Champ in-the-making
Champ in-the-making
Hi all,

I am attempting to start an alfresco session on a remote machine but I am getting the error:

(404)/alfresco/api/AuthenticationService

I have a webserviceclient.properties file in the path:
\webroot\WEB-INF\lib\alfresco,

with the follow sentence: repository.location=http://10.114.197.207:8080/alfresco/api

Is that correct? Can anyone help me with this?
12 REPLIES 12

nimind
Champ in-the-making
Champ in-the-making
you are looking for the word "diccionario" and….. i am spanish too. hehehe

alcazar
Champ in-the-making
Champ in-the-making
Hello nimind!

Well, I tried to run my web service yesterday, and now I understand (so so) the function of nodes in alfresco ( your help has been major issue). I can show de content.

Anyway, I want to do more actions with the webService, and I need to understand how I could show the different spaces, and I want to show documents by custom properties.

(For a better communication, I could mail you in spanish)

Thanks nimind!

nimind
Champ in-the-making
Champ in-the-making
Hi alcazar!

Feel free to do the questions you need.
Spaces are directories: Espacios (Space): organización jerárquica de directorios para organizar los contenidos.
Each directory is a space.

I have a little doc wit definitios in order to know better alfresco.

I just post how to see the properties of contents:

reference = new Reference(store, row.getNode().getId(), null);
                   predicate = new Predicate(new Reference[]{reference}, null, null);
                   nodes = repositoryService.get(predicate);
                  
                   for (i=0;i < nodes[0].getProperties().length; i++)
                   {
                      //Nombre
                      if (nodes[0].getProperties(i).getName().equals("{http://www.alfresco.org/model/content/1.0}name"))
                      {
                         sName = nodes[0].getProperties(i).getValue();
                      }

My email: nimind (at) gmail (dot) com
or fjavier (at) rodriguezgallego (dot) com