<?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 webscript with more that one dot in the url in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/webscript-with-more-that-one-dot-in-the-url/m-p/283254#M236384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to use a WebScript for building a RESTful Interface like &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://example.com/alfresco/s/api/v1.1/standards" rel="nofollow noopener noreferrer"&gt;http://example.com/alfresco/s/api/v1.1/standards&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://example.com/alfresco/s/api/v1.1/standards/test-35.5" rel="nofollow noopener noreferrer"&gt;http://example.com/alfresco/s/api/v1.1/standards/test-35.5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The path of the url have one or more dots. If I call the first url, then alfresco get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Web Script Status 404 - Not Found&lt;BR /&gt;&lt;BR /&gt;The Web Script /alfresco/s/api/v1.1/standards has responded with a status of 404 - Not Found.&lt;BR /&gt;&lt;BR /&gt;404 Description:&amp;nbsp;&amp;nbsp;&amp;nbsp; Requested resource is not available.&lt;BR /&gt;&lt;BR /&gt;Message:&amp;nbsp;&amp;nbsp;&amp;nbsp;07300004 Script url /api/v1.1/standards does not map to a Web Script.&lt;BR /&gt;&lt;BR /&gt;Exception:&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.extensions.webscripts.WebScriptException - 07300004 Script url /api/v1.1/standards does not map to a Web Script.&lt;BR /&gt; &lt;BR /&gt;org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:173)&lt;BR /&gt;org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)&lt;BR /&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;BR /&gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;BR /&gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)&lt;BR /&gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;BR /&gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;BR /&gt;org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;BR /&gt;org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)&lt;BR /&gt;org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&lt;BR /&gt;org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;BR /&gt;org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;BR /&gt;org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)&lt;BR /&gt;org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)&lt;BR /&gt;org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)&lt;BR /&gt;org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&lt;BR /&gt;java.lang.Thread.run(Thread.java:722)&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;/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;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;/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;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;/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;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I call the following url without dots, then all work successful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://example.com/alfresco/s/api/v1/standards" rel="nofollow noopener noreferrer"&gt;http://example.com/alfresco/s/api/v1/standards&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My WebScript definition is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;shortname&amp;gt;standards&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;get a list of all standards&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;url&amp;gt;/api/v1.1/standards&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;format default="json"&amp;gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;transaction&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;authentication&amp;gt;guest&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;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;/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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's possible to has one or more dots in the path of a WebScript url?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jonas Schmid&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2013 12:08:57 GMT</pubDate>
    <dc:creator>raaftjon</dc:creator>
    <dc:date>2013-08-30T12:08:57Z</dc:date>
    <item>
      <title>webscript with more that one dot in the url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-with-more-that-one-dot-in-the-url/m-p/283254#M236384</link>
      <description>helloI would like to use a WebScript for building a RESTful Interface like http://example.com/alfresco/s/api/v1.1/standardsorhttp://example.com/alfresco/s/api/v1.1/standards/test-35.5The path of the url have one or more dots. If I call the first url, then alfresco get the following error:Web Script</description>
      <pubDate>Fri, 30 Aug 2013 12:08:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-with-more-that-one-dot-in-the-url/m-p/283254#M236384</guid>
      <dc:creator>raaftjon</dc:creator>
      <dc:date>2013-08-30T12:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: webscript with more that one dot in the url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-with-more-that-one-dot-in-the-url/m-p/283255#M236385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems current webscript implentation treat part after the first dot&amp;nbsp; as format extension.So I'm afraid you can't have dot except format seprator in the path of a WebScript url&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 18:09:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-with-more-that-one-dot-in-the-url/m-p/283255#M236385</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-08-30T18:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: webscript with more that one dot in the url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-with-more-that-one-dot-in-the-url/m-p/283256#M236386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you try with &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;format default=”json”&amp;gt;argument&amp;lt;/format&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;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had similar issues (but only one dot, though): &lt;/SPAN&gt;&lt;A href="http://zlayer.net/blog/?p=43" rel="nofollow noopener noreferrer"&gt;http://zlayer.net/blog/?p=43&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 07:27:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-with-more-that-one-dot-in-the-url/m-p/283256#M236386</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-09-02T07:27:32Z</dc:date>
    </item>
  </channel>
</rss>

