Is it possible to call a back end web script from another back end web script? If so, are there some best practices? Alfresco Platform version 6.1.2-ga. Thanks in advance.
If both webscripts (assuming both webscripts are java backed) are defined within same repository layer, it does't make sense to call one from another. If there is any specific functionality you want to re-use, you should create a common method which can be used for two or more webscripts so you get the result in one call instead of multiple calls.
In general, you can call a backend webscript from another (no hard and fast rule) if you have something very special use case, one case would be a mix of java backed and js based webscript.
I would suggest to create a utility and re-use the functonality in both webscripts if possible.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.