Sheila's Blog

Software Development

Sheila's Blog header image 5

Entries Tagged as 'alfresco'

Accessing remote Alfresco web services

April 8th, 2009 No Comments

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 [...]

Tags:   ·

Alfresco – Create User

April 6th, 2009 No Comments

Creating a new alfresco user using a web service call requires the following jar files in your classpath:
alfresco-web-service-client.jar
axis-1.4.jar
commons-discovery-0.4.jar
commons-logging-1.1.jar
jaxrpc.jar
opensaml-1.1.jar
wsdl4j-1.6.2.jar
wss4j.jar
xmlsec-1.4.1.jar
Create a java class called AlfrescoCreateUser with a main method
public static void main(String[] args) throws Exception {
AlfrescoCreateUser alfTest = new AlfrescoCreateUser();
alfTest.createUser();
}
Copy the createPersonProperties method from the AdministrationServiceSystemTest in the web service client code
/**
* Taken [...]

Tags:   ·

Alfresco errors

April 1st, 2009 1 Comment

Index Errors or The store ‘avm://sitestore’ has a duplicate root node entry:
Whoops, you’ve inadvertently done something Very Bad to your Alfresco install and the application throws a fit about the indexes when you try to start it up.  There’s a problem with the database data and the lucene indexes being out of synch.
To solve this [...]

Tags:  

Alfresco Part Four – Accessing Alfresco webclient from a url

March 20th, 2009 6 Comments

Having created a space in Part Three, we now want to access it from our web application. The Alfresco web-client provides some servlets to allow URL-based access to pages within the client. To use these servlets without having to log in you have to request an authentication ticket via a web services call [...]

Tags:  

Alfresco Part Three – Create a new workspace using a web service call

March 19th, 2009 1 Comment

How to access create a new workspace in Alfresco using a web service API.

Tags:   ·

Alfresco Part Two – Deploying Alfresco on JBoss

March 18th, 2009 7 Comments

Steps for deploying Alfresco on a JBoss server.

Tags:   ·

Alfresco Part One – Using Alfresco for document management

March 16th, 2009 No Comments

We’d like to use an open source document management tool in conjunction with our web application. I looked at configuring Alfresco for the task, how to integrate it with the external data and reuse as much as possible of the document management features available in Alfresco.

The first steps were to download, install, configure and explore the Alfresco application…

Tags:   ·