Accessing remote Alfresco web services

by | Apr 8, 2009 | IT Development | 1 comment

You can check that the alfresco webservices are accessible on a remote machine by accessing the url http://hostname:8080/alfresco/api.  You should get the following message.
Axis HTTP Servlet
Hi, you have reached the AXIS HTTP Servlet. Normally you would be hitting this URL with a SOAP client rather than a browser.

In case you are interested, my AXIS transport name appears to be 'http'

To access a remote web service instead of a local one in your code you need to add a file called webserviceclient.properties to the classpath

webserviceclient.properties
repository.location=http://hostname:8080/alfresco/api

If you’re accessing the web service from your own web application then you need to place webserviceclient.properties in WEB-INF/classes/alfresco/webserviceclient.properties for it to be picked up properly.

Written by sheila

1 Comments

1 Comment

  1. Luis Aveiga

    Hi Sheila! Thanks for the post… I think I’m having a related issue…

    I’m trying to connect with Drupal to Alfresco, using the “Alfresco Share” try version of 1day.

    Does this demo version of “Alfresco Share” has the possibility to connect remotely? Where is it’s WSDL? (i’m trying to connect using soap)

    I’ve been trying many thing to connect, but I think that the Drupal Module can’t find the WSDL file.

    Alfresco.com gives me these access credentials and URL:
    URL: http://ed7b82b4.amazonaws.alfresco.com
    Username: clouduser
    Password: cloudtrial

    BTW, I already make the connection locally, but I’m having problems remotely. That’s why i’m asking you…

    Please help 🙂

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *