留言板
REST API
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?????????????????????/
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
angu 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
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.