Hi All. I am new to Alfresco and I am trying to execute a webscript from a custom action. Don't have much of an idea of how to do this. Therefore any kind of lead or help will be highly appreciated. Oh !!! by the way I am using alfresco 3.3.3 . Thanks
A WebScript is a REST-based action so this means that you can call this using directly the HTTP protocol. An action can be triggered from a WebScript call, from a Rule call or programmatically using the Javascript API, the Foundation API or the SOAP API of Alfresco.
If you need to execute a WebScript from an action, you need to implement by yourself the HTTP call, for example using HttpClient in Java. But I suggest you to study all the Alfresco architecture before starting to do this type of integrations. Usually you don't need to call a WebScript from an action, this means that you are loosing all the good choices that you can follow with Alfresco.