Fórum

liferay 7 jax-rs module

Patrick Verboom, modificado 7 Anos atrás.

liferay 7 jax-rs module

New Member Postagens: 3 Data de Entrada: 29/10/15 Postagens Recentes
hi,

I am trying to setup a jax-rs rest service but I am unable to get it working. I want to create a jax-rs service with a programmatically created endpoint.
I have read the docu from here:
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/jax-ws-and-jax-rs#configuring-endpoints-and-extenders-programmatically
and I also had a look at the examples from here:
https://github.com/liferay/liferay-blade-samples/blob/master/maven/blade.rest/src/main/java/com/liferay/blade/samples/rest/UsersRestService.java

The bundle is deployed and started fine I am just unable to call up the service. I keep getting a 404.
I have tried the following url's but the all return a 404:
http://localhost:8180/o/rest-test/testApp/sayHello
http://localhost:8180/rest-test/testApp/sayHello

I have attached my small test project.
Kevin Matthews, modificado 7 Anos atrás.

RE: liferay 7 jax-rs module

Expert Postagens: 253 Data de Entrada: 25/01/16 Postagens Recentes
Hi
I am also having the same issue. Were you able to get it resolved?

Thanks,
Kevin
A. Rock, modificado 7 Anos atrás.

RE: liferay 7 jax-rs module

New Member Postagens: 6 Data de Entrada: 19/10/16 Postagens Recentes
A. Rock, modificado 7 Anos atrás.

RE: liferay 7 jax-rs module

New Member Postagens: 6 Data de Entrada: 19/10/16 Postagens Recentes
posted my detailed solution in the other thread above.