Forums de discussion

unable to create wsdd jar while implementing remote services

Aruna Challa, modifié il y a 6 années.

unable to create wsdd jar while implementing remote services

New Member Publications: 17 Date d'inscription: 30/10/12 Publications récentes
I am implementing remote services.when i do buildwsdd task.the jar is not creating inside *-service/build/libs .
thumbnail
Joye Luo, modifié il y a 6 années.

RE: unable to create wsdd jar while implementing remote services

Regular Member Publications: 144 Date d'inscription: 03/05/16 Publications récentes
Hey Aruna,

Can u show us more details about how to reproduce your problem?
So we can solve it quickly.
Aruna Challa, modifié il y a 6 années.

RE: unable to create wsdd jar while implementing remote services

New Member Publications: 17 Date d'inscription: 30/10/12 Publications récentes
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, modifié il y a 6 années.

RE: unable to create wsdd jar while implementing remote services

Regular Member Publications: 144 Date d'inscription: 03/05/16 Publications récentes
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?

Pièces jointes: