cancel
Showing results for 
Search instead for 
Did you mean: 

Calling WorkflowService from WebServices

chantren
Champ in-the-making
Champ in-the-making
Hello everyone,

I need to get all the active tasks in Alfresco to display them into a portlet (in Liferay portal). I prefer to use Java WebServices as I already know it but WorkflowService it unavailable in this library. I found in that topic (http://forums.alfresco.com/en/viewtopic.php?f=27&t=12272&start=0&hilit=workflowservice) that it is possible to add a custom service to WebServices but I didn't understand the process well. So, has anyone successed in adding such a service in WebServices ? How ?

Thanks.

Nathan
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
If you would like to follow the API of Alfresco, you have to create a new action with some parameters that can be invoked from the Web Services API using the ActionService:
http://wiki.alfresco.com/wiki/Custom_Actions

From the Web Services API you will invoke the executeAction method of the ActionService:
http://wiki.alfresco.com/wiki/Action_Web_Service#executeActions

Hope this helps.