<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Rest Builder Example Devcon 2019 example</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119019891" />
  <subtitle>Rest Builder Example Devcon 2019 example</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119019891</id>
  <updated>2026-04-04T10:38:57Z</updated>
  <dc:date>2026-04-04T10:38:57Z</dc:date>
  <entry>
    <title>RE: Rest Builder Example Devcon 2019 example</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119027462" />
    <author>
      <name>DYLAN CAMILO POVEDA VILLAMIZAR</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119027462</id>
    <updated>2020-04-24T17:13:51Z</updated>
    <published>2020-04-24T17:13:51Z</published>
    <summary type="html">it Works!!Thank for your help</summary>
    <dc:creator>DYLAN CAMILO POVEDA VILLAMIZAR</dc:creator>
    <dc:date>2020-04-24T17:13:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Rest Builder Example Devcon 2019 example</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119024415" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119024415</id>
    <updated>2020-04-24T16:10:15Z</updated>
    <published>2020-04-24T16:10:15Z</published>
    <summary type="html">That&amp;#39;s the issue. Can you do &amp;#34;packages validation&amp;#34; and see the source of the two jars? Just stop the one that does not belong to vulcan (2.0.0 probably), stop/uninstall and then restart (stop and start) vulcan-impl.</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2020-04-24T16:10:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Rest Builder Example Devcon 2019 example</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119024068" />
    <author>
      <name>DYLAN CAMILO POVEDA VILLAMIZAR</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119024068</id>
    <updated>2020-04-24T14:34:25Z</updated>
    <published>2020-04-24T14:34:25Z</published>
    <summary type="html">Welcome to Apache Felix Gogog! ss javax.validation&lt;br /&gt;&amp;#34;Framework is launched.&amp;#34;&lt;br /&gt;id      State       Bundle&lt;br /&gt;1399    ACTIVE      javax.validation.api_2.0.0.Final&lt;br /&gt;1842    ACTIVE      javax.validation.api_2.0.1.Final&lt;br /&gt;g! </summary>
    <dc:creator>DYLAN CAMILO POVEDA VILLAMIZAR</dc:creator>
    <dc:date>2020-04-24T14:34:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Rest Builder Example Devcon 2019 example</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119023716" />
    <author>
      <name>DYLAN CAMILO POVEDA VILLAMIZAR</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119023716</id>
    <updated>2020-04-24T14:32:05Z</updated>
    <published>2020-04-24T14:32:05Z</published>
    <summary type="html">Hi Javier&lt;br /&gt;Im working in Liferay Digital Experience Platform 7.2.10 GA1 (Mueller / Build 7210 / May 13, 2019) TomCat   and I checked this command in the console and you are right &lt;br /&gt;is it possible to fix this issue?</summary>
    <dc:creator>DYLAN CAMILO POVEDA VILLAMIZAR</dc:creator>
    <dc:date>2020-04-24T14:32:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: Rest Builder Example Devcon 2019 example</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119020620" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119020620</id>
    <updated>2020-04-24T06:47:11Z</updated>
    <published>2020-04-24T06:47:11Z</published>
    <summary type="html">Which server are you using? It&amp;#39;s a dependency issue because 2 copies of javax.validation are deployed. Can you check is the OSGi console by doing ss javax.validation?</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2020-04-24T06:47:11Z</dc:date>
  </entry>
  <entry>
    <title>Rest Builder Example Devcon 2019 example</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119019890" />
    <author>
      <name>DYLAN CAMILO POVEDA VILLAMIZAR</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119019890</id>
    <updated>2020-04-23T20:29:04Z</updated>
    <published>2020-04-23T20:29:04Z</published>
    <summary type="html">Hi guys I was trying yo implemented the DevCon 2019 Rest Builder example publicated in this page &lt;a href="https://www.youtube.com/watch?v=ZxJCiL-LEr8"&gt;&lt;/a&gt;&lt;strong&gt;Building an SPA Using the New Headless APIs and REST Builder  &lt;/strong&gt;&lt;a href="https://www.liferay.com/es/web/events-devcon-recap"&gt;https://www.liferay.com/es/web/events-devcon-recap&lt;/a&gt;    and this video &lt;a href="https://www.youtube.com/watch?v=ZxJCiL-LEr8"&gt;https://www.youtube.com/watch?v=ZxJCiL-LEr8&lt;/a&gt; , but I got stuck when I want to test the API in PostMan, because when I send the petition this is the response&lt;strong&gt;&lt;/strong&gt;&lt;img src="/documents/portlet_file_entry/14/image--tempRandomSuffix--VG0DtOFZ.png/88430b5a-851c-2eba-6aa7-ca19e88914bb" /&gt;&lt;br /&gt;I am working with  liferay-dxp-7.2.10.1 and the code is below&lt;br /&gt;&lt;strong&gt;rest-open-api&lt;/strong&gt;components:&lt;br /&gt;    schemas:&lt;br /&gt;        Appointment:&lt;br /&gt;            description: Represents an appointment.&lt;br /&gt;            properties:&lt;br /&gt;                date:&lt;br /&gt;                    format: date-time&lt;br /&gt;                    type: string&lt;br /&gt;                id:&lt;br /&gt;                    format: int64&lt;br /&gt;                    type: integer&lt;br /&gt;                title:&lt;br /&gt;                    type: string&lt;br /&gt;            type: object&lt;br /&gt;info:&lt;br /&gt;    description: &amp;#34;&amp;#34;&lt;br /&gt;    license:&lt;br /&gt;        name: &amp;#34;Apache 2.0&amp;#34;&lt;br /&gt;        url: &amp;#34;http://www.apache.org/licenses/LICENSE-2.0.html&amp;#34;&lt;br /&gt;    title: &amp;#34;Appointments&amp;#34;&lt;br /&gt;    version: v1.0&lt;br /&gt;openapi: 3.0.1&lt;br /&gt;paths:&lt;br /&gt;    &amp;#34;/sites/{siteId}/appointments&amp;#34;:&lt;br /&gt;        get:&lt;br /&gt;            operationId: getSiteAppointmentsPage&lt;br /&gt;            parameters:&lt;br /&gt;                - in: path&lt;br /&gt;                  name: siteId&lt;br /&gt;                  required: true&lt;br /&gt;                  schema:&lt;br /&gt;                      format: int64&lt;br /&gt;                      type: integer&lt;br /&gt;            responses:&lt;br /&gt;                200:&lt;br /&gt;                    content:&lt;br /&gt;                        application/json:&lt;br /&gt;                            schema:&lt;br /&gt;                                items:&lt;br /&gt;                                    $ref: &amp;#34;#/components/schemas/Appointment&amp;#34;&lt;br /&gt;                                type: array&lt;br /&gt;                        application/xml:&lt;br /&gt;                            schema:&lt;br /&gt;                                items:&lt;br /&gt;                                    $ref: &amp;#34;#/components/schemas/Appointment&amp;#34;&lt;br /&gt;                                type: array&lt;br /&gt;                    description: &amp;#34;Get appointments&amp;#34;&lt;br /&gt;            tags: [&amp;#34;Appointment&amp;#34;]&lt;br /&gt;&lt;strong&gt;Java Code&lt;/strong&gt;&lt;strong&gt;Impl&lt;/strong&gt;public class AppointmentResourceImpl extends BaseAppointmentResourceImpl {&lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    @Override&lt;br /&gt;    public Page&amp;lt;Appointment&amp;gt; getSiteAppointmentsPage(&lt;br /&gt;            @NotNull Long siteId) throws Exception {&lt;br /&gt;        // TODO Auto-generated method stub&lt;br /&gt;        List &amp;lt;Appointment&amp;gt; appointmentList = new ArrayList&amp;lt;&amp;gt;(10);&lt;br /&gt;        &lt;br /&gt;        for (int i = 0; i &amp;lt; 10; i++) {&lt;br /&gt;            Appointment appointment=new Appointment();&lt;br /&gt;            appointment.setId((long)i);&lt;br /&gt;            appointment.setTitle(&amp;#34;Title&amp;#34;+i);&lt;br /&gt;            appointment.setDate(new Date());&lt;br /&gt;            appointmentList.add(appointment);&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;        &lt;br /&gt;        return Page.of(appointmentList);&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;}&lt;br /&gt;Regards</summary>
    <dc:creator>DYLAN CAMILO POVEDA VILLAMIZAR</dc:creator>
    <dc:date>2020-04-23T20:29:04Z</dc:date>
  </entry>
</feed>
