Alfresco java backed webscript

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2013 10:00 AM
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..
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..
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2013 10:26 AM
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
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
