Fórumok
REST API
angu manikandan, módosítva 11 év-val korábban
REST API
Junior Member Bejegyzések: 72 Csatlakozás dátuma: 2012.07.16. Legújabb bejegyzések
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, módosítva 10 év-val korábban
RE: REST API
Junior Member Bejegyzések: 51 Csatlakozás dátuma: 2013.01.29. Legújabb bejegyzések
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, módosítva 10 év-val korábban
RE: REST API
Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
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, módosítva 10 év-val korábban
RE: REST API
Junior Member Bejegyzések: 51 Csatlakozás dátuma: 2013.01.29. Legújabb bejegyzések
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, módosítva 10 év-val korábban
RE: REST API
Junior Member Bejegyzések: 57 Csatlakozás dátuma: 2009.02.27. Legújabb bejegyzésekangu 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, módosítva 10 év-val korábban
RE: REST API
Junior Member Bejegyzések: 51 Csatlakozás dátuma: 2013.01.29. Legújabb bejegyzések
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, módosítva 10 év-val korábban
RE: REST API
Expert Bejegyzések: 492 Csatlakozás dátuma: 2012.09.17. Legújabb bejegyzések
Pradip A Bhatt, módosítva 10 év-val korábban
RE: REST API
Junior Member Bejegyzések: 51 Csatlakozás dátuma: 2013.01.29. Legújabb bejegyzések
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