cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco java backed webscript

rutaveejshah
Champ in-the-making
Champ in-the-making
Hello Everyone!

I want to know where i have to put my jar file that is created for webscript ?
and where i have to put the custom-webscript-extension.xml file?

please answer as early as possible..
1 REPLY 1

abarisone
Star Contributor
Star Contributor
Hi,
take a look to this post https://forums.alfresco.com/en/viewtopic.php?f=53&t=45048
Normally these files are put in tomcat\webapps\alfresco\WEB-INF\classes\alfresco\extension\templates\webscripts folder
You can put simple.get.desc.xml here.
If you need to develop Java backed webscripts take a look here https://forums.alfresco.com/en/viewtopic.php?f=36&t=43013 and here https://forums.alfresco.com/en/viewtopic.php?f=36&t=46136
Your compiled Java class can be put into a jar named as you wish under tomcat\webapps\alfresco\WEB-INF.
Here http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples#Locations_of_the_files you can find the right location of files and here http://bpeters.tumblr.com/post/4206811462/alfresco-java-based-spring-web-script you get a full example.

Regards,
Andrea