Chapter 5. Invoking Web Scripts
In this chapter, we will cover how to invoke an Alfresco web script in different ways such as the following:
Invoking a web script through web browser and REST client plugins
Executing a web script through a standalone Java program
Making a call to a web script from Spring-based services
Different ways to invoke a web script from Alfresco Share
Calling a web script from the command line
Calling a web script from JSF pages or JSR-168 portals
Dealing with the limitation of clients
While working with web scripts in Alfresco, there might be situations where you would be curious to know how to execute a web script. For example, some common practical scenarios such as while developing web scripts, you will be interested in unit testing it. You want to invoke the web script in order to verify that the web script works well and returns the output as expected. In a support project while working on custom frontend application with a backend Alfresco repository, in the process...