<?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: AJAX (jQuery) and Alfresco WebScript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ajax-jquery-and-alfresco-webscript/m-p/159524#M113554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have several options as you list, however I belive HTTP basic authentication may be the best option.&amp;nbsp; Take a look at this post - &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=12&amp;amp;t=11970" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=12&amp;amp;t=11970&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Peter notes, HTTP basic authentication is used for authenticating Web Scripts accessed via /alfresco/service (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Invoking_a_Web_Script" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Invoking_a_Web_Script&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Be aware of cross domain scripting issues with the jQuery requests, you may need some type of proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2008 14:14:47 GMT</pubDate>
    <dc:creator>ben</dc:creator>
    <dc:date>2008-07-16T14:14:47Z</dc:date>
    <item>
      <title>AJAX (jQuery) and Alfresco WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ajax-jquery-and-alfresco-webscript/m-p/159523#M113553</link>
      <description>I got Alfresco 2.1 installed on a linux server inside an Intranet.I made a Web Script which browse alfresco folders and gives and personalized xml as output(I started from the sample available "get.atom" http://wiki.alfresco.com/wiki/Web_Scripts_Examples#Folder_Browse.2FRSS_Feed )Now I need to read</description>
      <pubDate>Tue, 15 Jul 2008 10:58:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ajax-jquery-and-alfresco-webscript/m-p/159523#M113553</guid>
      <dc:creator>giorgio_cardell</dc:creator>
      <dc:date>2008-07-15T10:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: AJAX (jQuery) and Alfresco WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ajax-jquery-and-alfresco-webscript/m-p/159524#M113554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have several options as you list, however I belive HTTP basic authentication may be the best option.&amp;nbsp; Take a look at this post - &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=12&amp;amp;t=11970" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=12&amp;amp;t=11970&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Peter notes, HTTP basic authentication is used for authenticating Web Scripts accessed via /alfresco/service (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Invoking_a_Web_Script" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Invoking_a_Web_Script&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Be aware of cross domain scripting issues with the jQuery requests, you may need some type of proxy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Ben.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 14:14:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ajax-jquery-and-alfresco-webscript/m-p/159524#M113554</guid>
      <dc:creator>ben</dc:creator>
      <dc:date>2008-07-16T14:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: AJAX (jQuery) and Alfresco WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ajax-jquery-and-alfresco-webscript/m-p/159525#M113555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I solved te cross domain issue using json approch:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For info: &lt;/SPAN&gt;&lt;A href="http://chamnapchhorn.blogspot.com/2008/07/jquery-cross-domain-ajax-query.html" rel="nofollow noopener noreferrer"&gt;http://chamnapchhorn.blogspot.com/2008/07/jquery-cross-domain-ajax-query.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I solved the authentication problems creating a special user called "alfresco_srv" and using a ticket approch:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;contextPath&amp;gt;/&amp;lt;servicePath&amp;gt;/api/path/Workspace/SpacesStore/Company%20Home/children&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;?alf_ticket=&amp;lt;ticket&amp;gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HERE IS HOW EVERYTHING WORKS:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I ask alfresco for the needed json file using and Ajax call with ticket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The json contains all the neeed information, filename, modified date, author and more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;once i get the file, jQuery will convert everything into HTML and insert the output inside the page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's all&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 13:09:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ajax-jquery-and-alfresco-webscript/m-p/159525#M113555</guid>
      <dc:creator>giorgio_cardell</dc:creator>
      <dc:date>2009-03-11T13:09:27Z</dc:date>
    </item>
  </channel>
</rss>

