Foren
REST API
angu manikandan, geändert vor 11 Jahren.
REST API
Junior Member Beiträge: 72 Beitrittsdatum: 16.07.12 Neueste Beiträge
Hi,
How to integrate Rest Api in Liferay?..........give me suggestion regarding this..................Tell me some useful idea my mind is blank about this......dont knw gonna wat happen?????????????????????/
How to integrate Rest Api in Liferay?..........give me suggestion regarding this..................Tell me some useful idea my mind is blank about this......dont knw gonna wat happen?????????????????????/
Pradip A Bhatt, geändert vor 10 Jahren.
RE: REST API
Junior Member Beiträge: 51 Beitrittsdatum: 29.01.13 Neueste Beiträge
Hello...
I am facing this issue currently.
I am integrated Jersey + RESTful Web service + JSON successfully in non Liferay Application. Then I tried this same concept in portlet project. but in liferay, we can not access any portlet directly.
Normal Tomcat application : http://localhost:<port>/<applicationName>
But in liferay ..
we have to just fire url like
http://localhost:8080
Then it will displays list of portlet which on that page. So in short, directly its not possible. So. i am planning to switch with JSON web service. I have no idea in, although tried. If you get better solution then reply me.
Thanksssssssssss
I am facing this issue currently.
I am integrated Jersey + RESTful Web service + JSON successfully in non Liferay Application. Then I tried this same concept in portlet project. but in liferay, we can not access any portlet directly.
Normal Tomcat application : http://localhost:<port>/<applicationName>
But in liferay ..
we have to just fire url like
http://localhost:8080
Then it will displays list of portlet which on that page. So in short, directly its not possible. So. i am planning to switch with JSON web service. I have no idea in, although tried. If you get better solution then reply me.
Thanksssssssssss
David H Nebinger, geändert vor 10 Jahren.
RE: REST API
Liferay Legend Beiträge: 14918 Beitrittsdatum: 02.09.06 Neueste Beiträge
Okay, clearly you're new here...
http://localhost:8080/my-portlet-war/blah works just fine...
http://localhost:8080/my-portlet-war/blah works just fine...
Pradip A Bhatt, geändert vor 10 Jahren.
RE: REST API
Junior Member Beiträge: 51 Beitrittsdatum: 29.01.13 Neueste Beiträge
Sir,
http://localhost:8080/my-portlet-war/blah works just fine...
here what is my-portlet-war and what is blah??
can you please explained??
http://localhost:8080/my-portlet-war/blah works just fine...
here what is my-portlet-war and what is blah??
can you please explained??
sridhar iyer, geändert vor 10 Jahren.
RE: REST API
Junior Member Beiträge: 57 Beitrittsdatum: 27.02.09 Neueste Beiträgeangu manikandan:
Hi,
How to integrate Rest Api in Liferay?..........give me suggestion regarding this..................Tell me some useful idea my mind is blank about this......dont knw gonna wat happen?????????????????????/
If you want to consume rest web service in liferay portlet, try using some framework like Spring
Spring RestTemplate
Pradip A Bhatt, geändert vor 10 Jahren.
RE: REST API
Junior Member Beiträge: 51 Beitrittsdatum: 29.01.13 Neueste Beiträge
Hello....
Finally , I successfully integrated Jersey RESTful web service with portlet.
You have to understand what is jersey framework.
For more inquiry...
Contact me.
Pradip Bhatt.
Finally , I successfully integrated Jersey RESTful web service with portlet.
You have to understand what is jersey framework.
For more inquiry...
Contact me.
Pradip Bhatt.
mohammad azaruddin, geändert vor 10 Jahren.
RE: REST API
Expert Beiträge: 492 Beitrittsdatum: 17.09.12 Neueste Beiträge
Pradip A Bhatt, geändert vor 10 Jahren.
RE: REST API
Junior Member Beiträge: 51 Beitrittsdatum: 29.01.13 Neueste Beiträge
Visit this one..
http://www.liferay.com/web/pradip.bhatt/blog?p_p_id=33&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=1
http://www.liferay.com/web/pradip.bhatt/blog?p_p_id=33&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=1