<?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 Call a back end web script from another one in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/call-a-back-end-web-script-from-another-one/m-p/80676#M24933</link>
    <description>&lt;P&gt;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.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Sep 2020 17:57:31 GMT</pubDate>
    <dc:creator>denny_terner</dc:creator>
    <dc:date>2020-09-19T17:57:31Z</dc:date>
    <item>
      <title>Call a back end web script from another one</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/call-a-back-end-web-script-from-another-one/m-p/80676#M24933</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Sep 2020 17:57:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/call-a-back-end-web-script-from-another-one/m-p/80676#M24933</guid>
      <dc:creator>denny_terner</dc:creator>
      <dc:date>2020-09-19T17:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Call a back end web script from another one</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/call-a-back-end-web-script-from-another-one/m-p/80677#M24934</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;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.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest to create a utility and re-use the functonality in both webscripts if possible.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Sep 2020 02:47:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/call-a-back-end-web-script-from-another-one/m-p/80677#M24934</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-09-20T02:47:55Z</dc:date>
    </item>
  </channel>
</rss>

