Foren

RE Service builder

thumbnail
Manikantha Rajamani, geändert vor 9 Jahren.

RE Service builder

Expert Beiträge: 258 Beitrittsdatum: 25.03.14 Neueste Beiträge
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, geändert vor 9 Jahren.

RE: RE Service builder

Liferay Master Beiträge: 658 Beitrittsdatum: 15.06.10 Neueste Beiträge
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