掲示板

Service Builder does not create remote service method in interface

9年前 に Leo Venezia によって更新されました。

Service Builder does not create remote service method in interface

New Member 投稿: 2 参加年月日: 15/03/18 最新の投稿
Hi all
I'm trying to implement custom remote services. According to this, I should implement my method in XXXServiceImpl, then rerun Service Builder and then my method's signature will appear in XXXService.
But when after I have done this, nothing appears in XXXService.

Any help? Thank you so much.
thumbnail
9年前 に Jesse Rao によって更新されました。

RE: Service Builder does not create remote service method in interface

Junior Member 投稿: 58 参加年月日: 10/07/12 最新の投稿
What is the contents of your service.xml?

Does any error message appear?

Have you looked at the following section on remote services?

https://www.liferay.com/it/documentation/liferay-portal/6.2/development/-/ai/write-remote-service-classes-liferay-portal-6-2-dev-guide-04-en
9年前 に Leo Venezia によって更新されました。

RE: Service Builder does not create remote service method in interface

New Member 投稿: 2 参加年月日: 15/03/18 最新の投稿
Thank you Jesse! Resolved.

I had created permission classes in a different way. The right way to create them was not explained in here:

https://www.liferay.com/it/documentation/liferay-portal/6.1/development/-/ai/writing-the-remote-service-class-liferay-portal-6-1-dev-guide-en