Can anyone please inform that is there any way with which I can invoke the workflow APIs from outside Alfresco? I have a scenario where I will be having a web application which would be using the core workflow and content management functionalities of Alfresco repository.
so in that case, how do I invoke the workflow APIs(is it possible thru web service APIs)
There are no plans to enhance the Alfresco Web Services except for the CMIS WebService Binding.
On the other hand the Alfresco Web Script interface underpins all the functionality of Alfresco Share and is gaining new functionality all the time including a new Workflow API in 3.4.
Web scripts inter-operate with any system with a http client, which means practically everything. You can call a web script from any system with a HTTP client. There's a lot less framework than faffing with WSDL and the soap machinery, and the different implementations of the web service parsers. You can even call a web script from the command line with a tool like 'curl'.
In addition an important issue for a content management system is that WebScripts are better for streaming content to and from the repo. Frankly the XML and SOAP used with WebServices just gets in the way.
The only reason I can think of for using WebServices is if you have some sort of ESB that is limited to Web Services only. In which case use the CMIS WebServices first and then roll your own proprietery ones.
<change hat> Perhaps I should add that the ACCP (Alfresco Community Committers Program) recently voted to take in the RAAR Web Service interface into the community incubation area. </change hat>