<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java Backed Webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210940#M164070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe there is an error on the path of the package where you are deploying your webscript class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you must deploy all the webscript classes starting from this path for your package:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://alfresco.war/WEB-INF/classes/alfresco/templates/webscripts/com/centrom/webscripts/" rel="nofollow noopener noreferrer"&gt;alfresco.war/WEB-INF/classes/alfresco/templates/webscripts/com/centrom/webscripts/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this package you can store your webscript class&amp;nbsp; :wink: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2009 19:55:11 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2009-02-20T19:55:11Z</dc:date>
    <item>
      <title>Java Backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210939#M164069</link>
      <description>I'm trying to write a Java backed web script, and I'm running into issues trying to get the Java code called. As far as I can tell, the Java class is being linked to the webscript, and the class is being initialised, but the class isn't called when the webscript is invoked. This is all in Alfresco 2</description>
      <pubDate>Fri, 20 Feb 2009 14:46:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210939#M164069</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-02-20T14:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210940#M164070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe there is an error on the path of the package where you are deploying your webscript class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you must deploy all the webscript classes starting from this path for your package:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://alfresco.war/WEB-INF/classes/alfresco/templates/webscripts/com/centrom/webscripts/" rel="nofollow noopener noreferrer"&gt;alfresco.war/WEB-INF/classes/alfresco/templates/webscripts/com/centrom/webscripts/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this package you can store your webscript class&amp;nbsp; :wink: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2009 19:55:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210940#M164070</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2009-02-20T19:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210941#M164071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get a class not found exception when Alfresco starts if I move the class to there. Back in its old location, it is definitely being picked up by the bean configuration, since I don't get any errors plus the debug from the static {} block is generated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2009 11:43:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210941#M164071</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-02-21T11:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210942#M164072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried to move all your webscript descriptor files (xml, ftl) in the Web Script Extensions Alfresco space?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 09:52:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210942#M164072</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2009-02-23T09:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210943#M164073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've tried variations on placing the xml and ftl files in the standard Web Script space, the Web Script Extensions and also on the file system in the templates/webscripts area. In all cases, I get the same result as at the start of the thread - the web script runs but the variables set in the class aren't exported to the template, and I don't see the debug I'd expect if the class was actually being called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It must be some stupid little thing that I've missed out, but so far it eludes me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've managed to track down the new location of the samples from the wiki page[1], and I'm currently trying to build them (jar dependency hell). If I can get those working, then possibly I can just try modifying these (or figure out what the difference is).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 10:46:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-webscript/m-p/210943#M164073</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-02-23T10:46:30Z</dc:date>
    </item>
  </channel>
</rss>

