Message Boards
Liferay 7 - Remote access to custom services
Liferay 7 - Remote access to custom services
New Member Posts: 3 Join Date: 7/13/20 Recent PostsHi,
this question has been asked at least twice in the
past but with no concreate solution. Still i will put this again to
see that this is an important aspect and a showstopper in the LR 7
custom developments.
I have taken the guestbook example to test building the custom remote
service.
This has guestbook-api, guestbook-service and
guestbook-web that contains jsp pages.
The service.xml
contains "remote-service="true"".
Following files are generated successfully in the
guestbook-service project when running the task buildWSDD;
- server-config.wsdd
- deploy and undeploy wsdd
file pairs in /src/main/resources directory
(GuestbookService_deploy.wsdd, GuestbookService_undeploy.wsdd
..)
- http and soap java files in
com.liferay.docs.guestbook.service.http (GuestbookServiceHttp.java,
GuestbookServiceSoap.java ..)
I deployed the four generated jar files that a shown as active
(wsdd.jar as resolved) as described on Help Page;
https://help.liferay.com/hc/en-us/articles/360018161051-Creating-Remote-Services
However i don't get a reply to my call (as described on the above
page)
http://localhost:8080/o/guestbook-service/api/axis
I can however access to Liferay Web Services remotely
successfully. That is to say that all required parameters for axis
access is set on my server.
Has anyone got any idea, why this is not working as
described on help pages?
Thanks and regards.
Gamini.