Foros de discusión

RE Service builder

thumbnail
Manikantha Rajamani, modificado hace 9 años.

RE Service builder

Expert Mensajes: 258 Fecha de incorporación: 25/03/14 Mensajes recientes
Hi Guys
If i make Remoteservice=true then it will generate the remote service files.
but now my dought is if i click on liferay portlet--->liferay---->build WSDD.it will generate file...
but i'm not getting what is difference b/w these two?




Thanks and Regards
Manikantha R
thumbnail
Apoorva Prakash, modificado hace 9 años.

RE: RE Service builder

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Hi Rajmani,

When we set remoteservice to true in service.xml, it produces a service.js file also. All the methods we've written inside XYZServiceImpl, get registered in service.js file as well (assuming that the XYZ is the name of the entity). Further, we can include this js file in our JSP and call those methods. This is referred to be as JSON services.

When we build WSDD, we basically exposes the services as SOAP services.

However this is only assumption on the basis of implementations I've done so far. I'm not exactly sure about this.

HTH.
Thanks and Regards,
Apoorva Prakash


Manikantha Rajamani:
Hi Guys
If i make Remoteservice=true then it will generate the remote service files.
but now my dought is if i click on liferay portlet--->liferay---->build WSDD.it will generate file...
but i'm not getting what is difference b/w these two?

Thanks and Regards
Manikantha R