One of the most useful uses of the index is to determine if a web script
actually exists. To walk through this process, you can locate the newly created Hello World
example.
To locate the Hello World sample web script, navigate to the Web Scripts Home page
(http://localhost:8080/alfresco/service/index). If prompted, log in with
the user name admin and password admin.
When invoking a web script URI, the Web Script Framework might respond with a Not Found
error. This can be due to an incorrectly formed URI or because the web script is not
registered at all. To determine which, navigate the index to see if the Web Script Framework
knows of it.
Note: Notice that the web script index URI starts with
/alfresco/service. This is correct: the web script index is itself
just another web script. The index is a series of web scripts each providing a different
navigation of the index at the following URIs:
- http://localhost:8080/alfresco/service/index/uri/
- http://localhost:8080/alfresco/service/index/package/
- On the Web Scripts Home page, select the Browse by Web Script URI link.
- Use the web browser search feature to locate /hello within the page.
- Once found, click the /hello link to display the full description of the Hello World web script.