<?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 ServiceBuild not working</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119703558" />
  <subtitle>REST ServiceBuild not working</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119703558</id>
  <updated>2026-04-05T23:57:10Z</updated>
  <dc:date>2026-04-05T23:57:10Z</dc:date>
  <entry>
    <title>RE: REST ServiceBuild not working</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119707282" />
    <author>
      <name>Robert Paul Meissner</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119707282</id>
    <updated>2020-08-05T07:05:02Z</updated>
    <published>2020-08-05T07:05:02Z</published>
    <summary type="html">true dat. so easy</summary>
    <dc:creator>Robert Paul Meissner</dc:creator>
    <dc:date>2020-08-05T07:05:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: REST ServiceBuild not working</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119706799" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119706799</id>
    <updated>2020-08-05T02:38:41Z</updated>
    <published>2020-08-05T02:38:41Z</published>
    <summary type="html">There&amp;#39;s a &amp;#34;context&amp;#34; dropdown on the /api/jsonws page in the upper left. Change the context to the guestbook one and you should see your service.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2020-08-05T02:38:41Z</dc:date>
  </entry>
  <entry>
    <title>REST ServiceBuild not working</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119703557" />
    <author>
      <name>Robert Paul Meissner</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119703557</id>
    <updated>2020-08-04T13:33:17Z</updated>
    <published>2020-08-04T13:33:17Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi,&lt;br&gt;&amp;nbsp;&lt;br&gt;i am stuck at &lt;a href="https://help.liferay.com/hc/en-us/articles/360018166311-Creating-Remote-Services-#using-service-builder-to-generate-remote-services"&gt;this&lt;/a&gt; tutorial. I have updated the &lt;a href="https://github.com/liferay/liferay-docs/blob/master/en/developer/tutorials/code/guestbook/07-permissions/com-liferay-docs-guestbook/modules/guestbook/guestbook-service/src/main/java/com/liferay/docs/guestbook/service/impl/GuestbookServiceImpl.java"&gt;Guestbook service&lt;/a&gt; by adding the following method and hitting buildService!&lt;br&gt;&lt;pre&gt;&lt;code&gt;@Override
&amp;amp;nbsp; &amp;amp;nbsp; public List&amp;lt;guestbook&amp;gt; getGuestbooks(long groupId) {&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; return guestbookLocalService.getGuestbooks(groupId);
&amp;amp;nbsp; &amp;amp;nbsp; }
&amp;lt;/guestbook&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;The method gets created in GuestebookService.java&lt;br&gt;&lt;pre&gt;&lt;code&gt;
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(
	isolation = Isolation.PORTAL,
	rollbackFor = {PortalException.class, SystemException.class}
)
public interface GuestbookService extends BaseService {

	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. Always use {@link GuestbookServiceUtil} to access the guestbook remote service. Add custom service methods to &amp;lt;code&amp;gt;com.liferay.docs.guestbook.service.impl.GuestbookServiceImpl&amp;lt;/code&amp;gt; and rerun ServiceBuilder to automatically copy the method declarations to this interface.
	 */
	@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
	public List&amp;lt;guestbook&amp;gt; getGuestbooks(long groupId);

	/**
	 * Returns the OSGi service identifier.
	 *
	 * @return the OSGi service identifier
	 */
	public String getOSGiServiceIdentifier();

}
&amp;lt;/guestbook&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;But it doesn't get listed under http://localhost:8080/api/jsonws What am I doing wrong?&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Robert Paul Meissner</dc:creator>
    <dc:date>2020-08-04T13:33:17Z</dc:date>
  </entry>
</feed>
