留言板

Service Builder does not create remote service method in interface

Leo Venezia,修改在9 年前。

Service Builder does not create remote service method in interface

New Member 帖子: 2 加入日期: 15-3-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
Jesse Rao,修改在9 年前。

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

Junior Member 帖子: 58 加入日期: 10-7-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
Leo Venezia,修改在9 年前。

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

New Member 帖子: 2 加入日期: 15-3-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