留言板

RE Service builder

thumbnail
Manikantha Rajamani,修改在9 年前。

RE Service builder

Expert 帖子: 258 加入日期: 14-3-25 最近的帖子
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,修改在9 年前。

RE: RE Service builder

Liferay Master 帖子: 658 加入日期: 10-6-15 最近的帖子
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