<?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: [SOLVED]what's wrong with this webscript? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245698#M198828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try adding &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;transaction allow="readonly"&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; to the webscript descriptor (.desc.xml)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2010 21:59:36 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2010-02-15T21:59:36Z</dc:date>
    <item>
      <title>[SOLVED]what's wrong with this webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245696#M198826</link>
      <description>I can run this webscript without problem, added to Data Dictionary\Web Scripts Extensions via the Add Content button:simple.get.desc.xml&amp;lt;webscript&amp;gt;&amp;lt;shortname&amp;gt;Simple&amp;lt;/shortname&amp;gt;&amp;lt;description&amp;gt;Simple web script&amp;lt;/description&amp;gt;&amp;lt;url&amp;gt;/simple?name={nameArgument}&amp;lt;/url&amp;gt;</description>
      <pubDate>Mon, 15 Feb 2010 16:44:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245696#M198826</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-02-15T16:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]what's wrong with this webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245697#M198827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;tried these webscripts on two different Alfresco EE 3.2 installations, one vista, one xp, same results&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 16:51:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245697#M198827</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-02-15T16:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]what's wrong with this webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245698#M198828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try adding &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;transaction allow="readonly"&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; to the webscript descriptor (.desc.xml)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 21:59:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245698#M198828</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-02-15T21:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]what's wrong with this webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245699#M198829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion, but added the line and calling the webscript with &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/service/helloworld?name=Steve" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/helloworld?name=Steve&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now I receive:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Web Script Status 500 - Internal Error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;500 Description: An error inside the HTTP server which prevented it from fulfilling the request. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Message: 01160002 Wrapped Exception (with status template): A valid SecureContext was not provided in the RequestContext &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception: net.sf.acegisecurity.AuthenticationCredentialsNotFoundException - A valid SecureContext was not provided in the RequestContext &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception: org.alfresco.web.scripts.WebScriptException - 01160002 Wrapped Exception (with status template): A valid SecureContext was not provided in the RequestContext &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception: org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Server: Alfresco Enterprise v3.2.0 (304) schema 3.400&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 09:23:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245699#M198829</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-02-16T09:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]what's wrong with this webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245700#M198830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;webscript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;shortname&amp;gt;Hello World&amp;lt;/shortname&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;description&amp;gt;Hello world web script&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;url&amp;gt;/helloworld?name={nameArgument}&amp;lt;/url&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;transaction allow="readonly"&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/webscript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but still get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Web Script /alfresco/service/helloworld&amp;nbsp; has responded with a status of 500 - Internal Error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;500 Description:&amp;nbsp;&amp;nbsp;&amp;nbsp;An error inside the HTTP server which prevented it from fulfilling the request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Message:&amp;nbsp;&amp;nbsp;&amp;nbsp;01160010 Wrapped Exception (with status template): A valid SecureContext was not provided in the RequestContext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception:&amp;nbsp;&amp;nbsp;&amp;nbsp;net.sf.acegisecurity.AuthenticationCredentialsNotFoundException - A valid SecureContext was not provided in the RequestContext&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 09:34:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245700#M198830</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-02-16T09:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]what's wrong with this webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245701#M198831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, this works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;webscript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;shortname&amp;gt;Hello World&amp;lt;/shortname&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;description&amp;gt;Hello world web script&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;url&amp;gt;/helloworld?name={nameArgument}&amp;lt;/url&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;transaction&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/webscript&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 09:37:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245701#M198831</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-02-16T09:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]what's wrong with this webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245702#M198832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The .desc.xml needs the following lines:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;transaction&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;BR /&gt;&amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Sep 2013 16:59:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-what-s-wrong-with-this-webscript/m-p/245702#M198832</guid>
      <dc:creator>mathias_lin</dc:creator>
      <dc:date>2013-09-22T16:59:51Z</dc:date>
    </item>
  </channel>
</rss>

