Looks like you have not deployed the webscript.
You need to deploy the webscripts to any of the following locations:
- Data Dictionary > Web Scripts Extensions (/Company Home/Data Dictionary/Web Scripts Extensions)
- Data Dictionary > Web Scripts (/Company Home/Data Dictionary/Web Scripts)
This is clearly mentioned in the tutorial. https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html#hello...
If webscripts are in folder structure e.g. com\someco\whitepapers, then upload the "com" folder all together to the any of the above folders. Your uploaded webscript path would be like: Data Dictionary > Web Scripts Extensions > com > someco > whitepapers
Once you are done with upload, refresh the webscripts so they get loaded. Use the following url:
Click on "Refresh Web Scripts" button after you logged in.
Refer this doc for in detail info: https://docs.alfresco.com/content-services/5.2/tutorial/platform/web-scripts/
(ACSCE, AWS SAA, Azure Admin)