【发布时间】:2014-06-08 06:30:27
【问题描述】:
我目前正在尝试使用 Liferay JSON WebService API 从我的数据库中访问实体(例如“学生”)。我使用 ServiceBuilder 为这个实体构建了服务,并在 StudentServiceImpl 中实现了一个方法“public Student getStudentByID(long StudentId){...}”。 我还可以通过“http://sampletest.com/RestTestLiferayProject-portlet/api/jsonws”查看和访问此方法 如何从另一个 portlet 调用此服务?
【问题讨论】: