Foros de discusión

local-service and remote-service parameters in service.xml file

Ravi Kiran, modificado hace 12 años.

local-service and remote-service parameters in service.xml file

Junior Member Mensajes: 53 Fecha de incorporación: 8/04/12 Mensajes recientes
Hi ,

Could anybody please let me know about these parameters , i saw number of examples on to internet where they specified
local-service="true" remote-service="false"

What does these parameters exactly mean ??




<entity name="PasswordPolicy" table="Password_Policy" local-service="true" remote-service="false">

And also one more query when i used Liferay Eclipse PLugin to create a new sevice.xml file it asks for Namespace value , please see the scren shot here , what does the Namespace value should be given ??
thumbnail
David H Nebinger, modificado hace 12 años.

RE: local-service and remote-service parameters in service.xml file

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Local service means you'll get ArticleLocalServiceUtil, an instance that you can use in your portlets to access SB methods.

Remote service means you're creating a web service entry point that applications outside of the Liferay environment can call to access the SB methods.

Most of the time you will want the local services, but you'll only need the remote services in specific scenarios.
Ravi Kiran, modificado hace 12 años.

RE: local-service and remote-service parameters in service.xml file

Junior Member Mensajes: 53 Fecha de incorporación: 8/04/12 Mensajes recientes
Thanks a lot David .
thumbnail
Megesh Damre, modificado hace 6 años.

RE: local-service and remote-service parameters in service.xml file

New Member Mensajes: 24 Fecha de incorporación: 27/04/17 Mensajes recientes
thank u david to making easy... emoticon