<?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: Servicio REST custom sin webscripts en Alfresco AIO 5.2 enterprise in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80331#M53598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muchas gracias, te informaremos si lo conseguimos hacer funcionar.&lt;/P&gt;&lt;P&gt;Un saludo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2018 13:49:21 GMT</pubDate>
    <dc:creator>imingo</dc:creator>
    <dc:date>2018-03-07T13:49:21Z</dc:date>
    <item>
      <title>Servicio REST custom sin webscripts en Alfresco AIO 5.2 enterprise</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80327#M53594</link>
      <description>Buenos días, estoy intentando hacer la implementación de un servicio REST con alfresco aio 5.2 enterprise edition. El problema con el que me encuentro de primeras es que no existe un archivo web.xml dónde pueda registrar un nuevo servlet (ya que se genera de alguna manera transparente para mi). He s</description>
      <pubDate>Wed, 07 Mar 2018 12:03:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80327#M53594</guid>
      <dc:creator>imingo</dc:creator>
      <dc:date>2018-03-07T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Servicio REST custom sin webscripts en Alfresco AIO 5.2 enterprise</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80328#M53595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;La mejor manera es con Web Scripts. ¿Por qué "no utilizar Web Scripts" es un requisito?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 13:00:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80328#M53595</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-03-07T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Servicio REST custom sin webscripts en Alfresco AIO 5.2 enterprise</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80329#M53596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nos gustaría no tener que utilizar webs cripts ya que nos resulta muy engorroso y querríamos prescindir de ellos. No se si sería posible de realizarlo sin tener que utilizarlos. Un saludo y gracias por la ayuda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 13:28:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80329#M53596</guid>
      <dc:creator>imingo</dc:creator>
      <dc:date>2018-03-07T13:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Servicio REST custom sin webscripts en Alfresco AIO 5.2 enterprise</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80330#M53597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Podrías prescindir del framework Web Scripts para la implementación, aunque para mí es una manera muy sencilla y eficiente para crear un endpoint REST. De hecho no se me ocurre una manera mejor de hacerlo, así que me interesará conocer vuestra experiencia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creo que para vuestro enfoque la mejor alternativa sería utilizar un web fragment para añadir lo que necesitéis en la parte del descriptor web.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esto os puede servir de referencia:&amp;nbsp;&lt;A href="https://github.com/covolution/enablecors/blob/master/src/main/resources/META-INF/web-fragment.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/covolution/enablecors/blob/master/src/main/resources/META-INF/web-fragment.xml&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 13:43:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80330#M53597</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-03-07T13:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Servicio REST custom sin webscripts en Alfresco AIO 5.2 enterprise</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80331#M53598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muchas gracias, te informaremos si lo conseguimos hacer funcionar.&lt;/P&gt;&lt;P&gt;Un saludo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 13:49:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80331#M53598</guid>
      <dc:creator>imingo</dc:creator>
      <dc:date>2018-03-07T13:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Servicio REST custom sin webscripts en Alfresco AIO 5.2 enterprise</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80332#M53599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lo prometido es deuda y por fin conseguimos exponer el servicio rest sin necesidad de web scripts (de momento sin autenticación). Nuestra solución ha sido:&lt;/P&gt;&lt;P&gt;1º &amp;nbsp; Crear un archivo web-fragment.xml en el módulo platform en &lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;src/main/resources/META-INF/web-fragment.xml en el cual hemos definido nuestro servlet.&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;web-fragment&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;servlet&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;servlet-name&amp;gt;mvc-dispatcher&amp;lt;/servlet-name&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;init-param&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;param-value&amp;gt;classpath:alfresco/module/${project.artifactId}/mvc-dispatcher-servlet.xml&amp;lt;/param-value&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;/init-param&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;/servlet&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;servlet-mapping&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;servlet-name&amp;gt;mvc-dispatcher&amp;lt;/servlet-name&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;url-pattern&amp;gt;/customapi/*&amp;lt;/url-pattern&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;/servlet-mapping&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;/web-fragment&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;2º Crear el archivo mvc-dispatcher-servlet.xml en la ruta previamente definida:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;SPAN&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;xmlns:context="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt;" xmlns:mvc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/mvc" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/mvc&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;SPAN&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;xsi:schemaLocation="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans/spring-beans-3.0.xsd&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context/spring-context-3.0.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context/spring-context-3.0.xsd&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/mvc" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/mvc&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- Enable autowiring of Spring Beans --&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;context:annotation-config /&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- Scan com.enterprise.controller package for beans --&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;context:component-scan base-package="com..enterprise.controller" /&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;!-- Enable RequestMapping annotations --&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;mvc:annotation-driven /&amp;gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;lt;/beans&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;3º Crear un controlador con spring: &lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;@Controller&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;@RequestMapping(value = "rest")&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;public class MyController { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(NodeController.class);&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @RequestMapping(value = "/check", method = RequestMethod.GET)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;@Produces(MimetypeMap.MIMETYPE_JSON)&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;public @ResponseBody CustomModel getActivities() {&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; return new CustomModel();&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/EM&gt;&lt;/P&gt;&lt;H5 style="margin-top: 0pt; margin-bottom: 0pt;" id="toc-hId-1057129107"&gt;&lt;/H5&gt;&lt;H2 id="toc-hId--905487339"&gt;&lt;SPAN style="font-size: 8pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Muchas gracias por la ayuda un saludo!&lt;/SPAN&gt;&lt;EM style="background-color: transparent; color: #000000; font-weight: 400; text-decoration: none; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:35:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/servicio-rest-custom-sin-webscripts-en-alfresco-aio-5-2/m-p/80332#M53599</guid>
      <dc:creator>imingo</dc:creator>
      <dc:date>2018-03-08T11:35:29Z</dc:date>
    </item>
  </channel>
</rss>

