I'm trying to create a custom webscript on Alfresco Community. I'm following this tutorial: http://docs.alfresco.com/community/concepts/ws-folderListing-intro.html.
Everything works out fine in the beginning. When I navigate to
localhost:8080/alfresco/service/
and click on 'Refresh webscripts', my new webscript is registered.
But now when I navigate to
localhost:8080/alfresco/service/dir/Company%20Home
I get the following message:
The Web Script /alfresco/service/dir/Company Home has responded with a status of 404 - Not Found.
404 Description: Requested resource is not available.
Message: Folder Company Home not found.
Server: Community v4.2.0 (r63893-b12) schema 6.033
Time: 21-mei-2014 17:04:59
Diagnostics: Inspect Web Script (org/example/dir.get)
What is going wrong? I followed all the steps in the tutorial precisely.