掲示板

unable to create wsdd jar while implementing remote services

6年前 に Aruna Challa によって更新されました。

unable to create wsdd jar while implementing remote services

New Member 投稿: 17 参加年月日: 12/10/30 最新の投稿
I am implementing remote services.when i do buildwsdd task.the jar is not creating inside *-service/build/libs .
thumbnail
6年前 に Joye Luo によって更新されました。

RE: unable to create wsdd jar while implementing remote services

Regular Member 投稿: 144 参加年月日: 16/05/03 最新の投稿
Hey Aruna,

Can u show us more details about how to reproduce your problem?
So we can solve it quickly.
6年前 に Aruna Challa によって更新されました。

RE: unable to create wsdd jar while implementing remote services

New Member 投稿: 17 参加年月日: 12/10/30 最新の投稿
Joye Luo:
Hey Aruna,

Can u show us more details about how to reproduce your problem?
So we can solve it quickly.


hi jyoe,here is my serviceImpl class

@JSONWebService
public People addPeople(String name,String email,String address,long zipcode){


return peopleLocalService.addPeple(name, email, address, zipcode);



// return guestbookLocalService.addGuestbook(userId, name, serviceContext);
}
@JSONWebService
public List<People> getPeopleByEmail(String email) {
return peopleLocalService.getPeopleByEmail(email);
}

@JSONWebService
public int getPeopleCount(long groupId) throws SystemException {
return peopleLocalService.getPeoplesCount();
}

i have attched the files of service.xml,and the files where i configured for the setting required for wsdd
thumbnail
6年前 に Joye Luo によって更新されました。

RE: unable to create wsdd jar while implementing remote services

Regular Member 投稿: 144 参加年月日: 16/05/03 最新の投稿
Hey Aruna,

I have followed your steps with the information u provided.

1. create a Liferay WS in Liferay IDE
2. create a service-build module project
3.copy the service.xml content to my service.xml
4. run buildService
5.copy the PeopleServiceImpl content to my project and write some code in PeopleLocalServiceImpl
6. run buildService again
7. use the settings.gradle configuration as yours
8. refresh gradle project and run buildWSDD

And then I go to * service\build\libs dir, the jar file exists.
I can't reproduce your project in my side. I am in windows machine.
Am I miss something to reproduce your problem?

添付ファイル: