3
현재 Liferay JSON WebService API를 사용하여 데이터베이스에서 엔티티 (예 : "학생")에 액세스하려고합니다. ServiceBuilder를 사용하여이 엔티티에 대한 서비스를 작성하고 StudentServiceImpl에 "public Student getStudentByID (long StudentId) {...}"메소드를 구현했습니다. "http://sampletest.com/RestTestLiferayProject-portlet/api/jsonws"을 통해이 방법을보고 액세스 할 수도 있습니다. 다른 포틀릿에서이 서비스를 호출하려면 어떻게해야합니까?평생에 json 웹 서비스 호출
저는 웹 서비스 클라이언트를 만드는 것에 대해 이야기하고 있습니다. 어쨌든 나는 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 입니다. 하지만 나는 mycase에서 wsdl을 얻을 수 없다. – Sree