<?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: Calling external webservice from Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/calling-external-webservice-from-alfresco/m-p/113412#M79858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't expose Java classes from Alfresco Rhino JavaScript integration - we have purposely disabled this feature - it is a huge potential security hole! Any user can execute a script, and then could then execute Java on the server - which could potentially do anything…! :shock: So it has been disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The correct way to call Java from JavaScript is to create a Repository action class and then call that using the 'actions' object from JavaScript. Since only a server admin can add new JARs to the repo this is a safe route.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2007 10:24:32 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2007-06-28T10:24:32Z</dc:date>
    <item>
      <title>Calling external webservice from Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-external-webservice-from-alfresco/m-p/113411#M79857</link>
      <description>Hi all,I am looking for a way to call an external webservice from Alfresco.We are integrating Alfresco into our product and therefore need Alfresco to send information to our application.Can this be done with the JavaScript possibilities in Alfresco?This javascript could then be used by a rule defin</description>
      <pubDate>Tue, 26 Jun 2007 17:35:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-external-webservice-from-alfresco/m-p/113411#M79857</guid>
      <dc:creator>markhayen</dc:creator>
      <dc:date>2007-06-26T17:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calling external webservice from Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-external-webservice-from-alfresco/m-p/113412#M79858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't expose Java classes from Alfresco Rhino JavaScript integration - we have purposely disabled this feature - it is a huge potential security hole! Any user can execute a script, and then could then execute Java on the server - which could potentially do anything…! :shock: So it has been disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The correct way to call Java from JavaScript is to create a Repository action class and then call that using the 'actions' object from JavaScript. Since only a server admin can add new JARs to the repo this is a safe route.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 10:24:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-external-webservice-from-alfresco/m-p/113412#M79858</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-28T10:24:32Z</dc:date>
    </item>
  </channel>
</rss>

