Wednesday, July 2, 2014

What are the local-service=“true” remote-service=“false” parameters in service.xml

local-service="true" 
This will create classes to access your services within the same JVM.

remote-service="true" 
This will create classes to access your services from outside.


In this case (local=true;remote=false) - you will be able to call the services in your portlet (or the whole portal, depends on how you set them up), but won't be able to call them from outside (for example from some SOAP client or a mobile application, etc).

No comments:

Post a Comment