3
我正在尝试使用Liferay JSON WebService API从我的数据库访问实体(例如“学生”)。我使用ServiceBuilder为此实体构建服务,并在StudentServiceImpl中实现了一个“public Student getStudentByID(long StudentId){...}”方法。 我也能够通过“http://sampletest.com/RestTestLiferayProject-portlet/api/jsonws” 查看和访问此方法如何从另一个portlet调用此服务?在liferay中调用json web服务
我在说创建Web服务客户端。无论如何,我遵循http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/writing-the-remote-service-class-liferay-portal-6-1-dev-guide-en这个链接来创建我的json ws。这里是wsdl http:// localhost:8080/event-listing-portlet/api/axis/Plugin_Event_EventService?wsdl 。但我无法在我的情况下获得wsdl – Sree