Fórum
Making simple webservices with liferay
Chad Minick, modificado 11 Anos atrás.
Making simple webservices with liferay
New Member Postagens: 4 Data de Entrada: 29/06/12 Postagens Recentes
I am trying to make a simple webservice call with liferay. I'm wanting to use liferay's existing message board services. Unfortunately the built in json and soap services for the Message Boards won't meet my needs. (See my earlier thread for why). So it looks like I'll have to make my own.
How can I build a service off an already existing service model?
Can I somehow bypass the whole wsdd and service builder altogether for remote services? It looks like I can use serveResource in the portlet to make simple Restful api, but I can't figure out how to use friendly-url mapper to map a friendly URL to serveResource. (friendly url is needed so I can use it an an external language).
How can I build a service off an already existing service model?
Can I somehow bypass the whole wsdd and service builder altogether for remote services? It looks like I can use serveResource in the portlet to make simple Restful api, but I can't figure out how to use friendly-url mapper to map a friendly URL to serveResource. (friendly url is needed so I can use it an an external language).
Chad Minick, modificado 11 Anos atrás.
RE: Making simple webservices with liferay
New Member Postagens: 4 Data de Entrada: 29/06/12 Postagens Recentes
I guess another way to approach and ask this question.
How could I get service builder to build what I need to make a remote service without the service having it's own model?
How could I get service builder to build what I need to make a remote service without the service having it's own model?
Hitoshi Ozawa, modificado 11 Anos atrás.
RE: Making simple webservices with liferay
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Just modify the impl file and rebuild your services and wsdd. I'm doing this to provide backward compatibiilties and to add custom interfaces too. :-)
Chad Minick, modificado 11 Anos atrás.
RE: Making simple webservices with liferay
New Member Postagens: 4 Data de Entrada: 29/06/12 Postagens Recentes
I don't understand. What would my service.xml look like so I wouldn't create any actual database codes but will still create a stub for the Impl and corresponding wsdd file?
Hitoshi Ozawa, modificado 11 Anos atrás.
RE: Making simple webservices with liferay
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Read up on Service Builder. All liferay database tables are created using it.
http://www.liferay.com/community/wiki/-/wiki/Main/Service+Builder
A brief tutorial to get started.
http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/service-build-2
http://www.liferay.com/community/wiki/-/wiki/Main/Service+Builder
A brief tutorial to get started.
http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/service-build-2