留言板

unable to create wsdd jar while implementing remote services

Aruna Challa,修改在6 年前。

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
Joye Luo,修改在6 年前。

RE: unable to create wsdd jar while implementing remote services

Regular Member 帖子: 144 加入日期: 16-5-3 最近的帖子
Hey Aruna,

Can u show us more details about how to reproduce your problem?
So we can solve it quickly.
Aruna Challa,修改在6 年前。

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
Joye Luo,修改在6 年前。

RE: unable to create wsdd jar while implementing remote services

Regular Member 帖子: 144 加入日期: 16-5-3 最近的帖子
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?