Fórum

Entity_ServiceImpl class in Service Builder

thumbnail
chandru palaniyappan, modificado 13 Anos atrás.

Entity_ServiceImpl class in Service Builder

Junior Member Postagens: 85 Data de Entrada: 29/07/10 Postagens Recentes
Hi all,

I have created a service builder xml and generated the classes.
The Entity_LocalServiceImpl.java is created under the package ...service.impl;
But Entity_ServiceImpl class is not found in the package...!

We need to create it manually...?


Any help appreciated..

Thanks and Regards,

Chandru P
Venkat Koppavolu, modificado 13 Anos atrás.

RE: Entity_ServiceImpl class in Service Builder

Junior Member Postagens: 85 Data de Entrada: 26/07/10 Postagens Recentes
chandru palaniyappan:
Hi all,

I have created a service builder xml and generated the classes.
The Entity_LocalServiceImpl.java is created under the package ...service.impl;
But Entity_ServiceImpl class is not found in the package...!

We need to create it manually...?


Any help appreciated..

Thanks and Regards,

Chandru P


No need to create manually.. By Default in service.impl it should have entity_LocalServiceImpl and entity_ServiceImpl classes.

Can you please provide your service.xml..

Please refer the attached sample-service-builder-portlet, you can also download same from liferay's plug-in's.
thumbnail
chandru palaniyappan, modificado 13 Anos atrás.

RE: Entity_ServiceImpl class in Service Builder

Junior Member Postagens: 85 Data de Entrada: 29/07/10 Postagens Recentes
Hi Venkat,

Thanks for your reply...

Not only the entity_ServiceImpl.java, also Entity_permission.java, Entity_JSONSerializer.java and Entity_ServiceUtil.java wasn't created by the service builder;

I have attached service.xml.

Please check it and let me know what kind of mistake i had done with it;

Thanks & Regards,

Chandru P
thumbnail
chandru palaniyappan, modificado 13 Anos atrás.

RE: Entity_ServiceImpl class in Service Builder

Junior Member Postagens: 85 Data de Entrada: 29/07/10 Postagens Recentes
Hi Venkat,

The service builder created the required classs by simply gave the entities remote-service="true"



Thanks & Regards

Chandru P