Frans Thamura 12 Years Ago we have a code, cimande www.sf.net/projects/cimandewe want to become rest server (json) for liferay.can share code? and is it using liferay ide? Please sign in to reply. Reply as... Cancel
Jay Patel 12 Years Ago Very well explained....Thanks James Please sign in to reply. Reply as... Cancel
Jignesh Vachhani 12 Years Ago Nice Article James !!! Thanks !!! Please sign in to reply. Reply as... Cancel
filip Lagerlov 12 Years Ago Yes but how do u make a json request to a custom service? Please sign in to reply. Reply as... Cancel James Falkner filip Lagerlov 12 Years Ago There is some additional work in Liferay 6.0 that needs to be done to enable remote JSON services for your custom service. I'll research that. In the meantime I believe in 6.1 this will be done for you using the code from http://issues.liferay.com/browse/LPS-14359?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel Please sign in to reply. Reply as... Cancel filip Lagerlov James Falkner 12 Years Ago Thanks, i figured it out how to make it work in liferay 6 tomcat, u need to move the projectname-portal-service.jar file "generated by ant build-service" and put it inside the tomcat \bundles\tomcat-6.0.29\lib\ext, Please sign in to reply. Reply as... Cancel filip Lagerlov filip Lagerlov 12 Years Ago all creds to this post http://www.liferay.com/zh/community/forums/-/message_boards/message/7779777 Please sign in to reply. Reply as... Cancel
James Falkner filip Lagerlov 12 Years Ago There is some additional work in Liferay 6.0 that needs to be done to enable remote JSON services for your custom service. I'll research that. In the meantime I believe in 6.1 this will be done for you using the code from http://issues.liferay.com/browse/LPS-14359?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel Please sign in to reply. Reply as... Cancel filip Lagerlov James Falkner 12 Years Ago Thanks, i figured it out how to make it work in liferay 6 tomcat, u need to move the projectname-portal-service.jar file "generated by ant build-service" and put it inside the tomcat \bundles\tomcat-6.0.29\lib\ext, Please sign in to reply. Reply as... Cancel filip Lagerlov filip Lagerlov 12 Years Ago all creds to this post http://www.liferay.com/zh/community/forums/-/message_boards/message/7779777 Please sign in to reply. Reply as... Cancel
filip Lagerlov James Falkner 12 Years Ago Thanks, i figured it out how to make it work in liferay 6 tomcat, u need to move the projectname-portal-service.jar file "generated by ant build-service" and put it inside the tomcat \bundles\tomcat-6.0.29\lib\ext, Please sign in to reply. Reply as... Cancel filip Lagerlov filip Lagerlov 12 Years Ago all creds to this post http://www.liferay.com/zh/community/forums/-/message_boards/message/7779777 Please sign in to reply. Reply as... Cancel
filip Lagerlov filip Lagerlov 12 Years Ago all creds to this post http://www.liferay.com/zh/community/forums/-/message_boards/message/7779777 Please sign in to reply. Reply as... Cancel
Hitoshi Ozawa 12 Years Ago Your example 3 would not work in 6.1 because they deleted addArticle interface. Please sign in to reply. Reply as... Cancel Rajeev Kumar Hitoshi Ozawa 12 Years Ago hi hitoshi,I am using liferay-portal-6.1.10-ee-ga1 and trying example 3 and as you stated not working, is there work around for it, this is something urgent, pls respond. Please sign in to reply. Reply as... Cancel James Falkner Rajeev Kumar 12 Years Ago Check out http://www.liferay.com/community/forums/-/message_boards/message/13489024 I have re-done the example 3 for Liferay 6.1. Please sign in to reply. Reply as... Cancel
Rajeev Kumar Hitoshi Ozawa 12 Years Ago hi hitoshi,I am using liferay-portal-6.1.10-ee-ga1 and trying example 3 and as you stated not working, is there work around for it, this is something urgent, pls respond. Please sign in to reply. Reply as... Cancel James Falkner Rajeev Kumar 12 Years Ago Check out http://www.liferay.com/community/forums/-/message_boards/message/13489024 I have re-done the example 3 for Liferay 6.1. Please sign in to reply. Reply as... Cancel
James Falkner Rajeev Kumar 12 Years Ago Check out http://www.liferay.com/community/forums/-/message_boards/message/13489024 I have re-done the example 3 for Liferay 6.1. Please sign in to reply. Reply as... Cancel
python shi 11 Years Ago The Apache Commons HTTPClient libraries if it is commons-httpclient-3.0.1.jar? why in my ide, prompt constructor HttpHost(String, int, String) is undefined of HttpHost, and other class also undefined. Please sign in to reply. Reply as... Cancel James Falkner python shi 11 Years Ago "python shi" : There were many changes in the Apache HTTPClient libraries from 3.x to 4.x - I used 4.x as it's the latest. It should be possible to port my samples to use 3.x. But the errors you are getting are expected (due to the API changes in httpclient). Please sign in to reply. Reply as... Cancel python shi James Falkner 11 Years Ago OK, thanks, I use the 4.2.1, it is ok. Please sign in to reply. Reply as... Cancel mikel basabe python shi 11 Years Ago Hi everybody,First of all, I would like to congratulate James on this post. It's really useful.But I have a doubt about how you can call "/assetentry/get-entries" method which needs a "com.liferay.portlet.asset.service.persistence.AssetEntryQuery" object as parameter. Any idea? Please sign in to reply. Reply as... Cancel
James Falkner python shi 11 Years Ago "python shi" : There were many changes in the Apache HTTPClient libraries from 3.x to 4.x - I used 4.x as it's the latest. It should be possible to port my samples to use 3.x. But the errors you are getting are expected (due to the API changes in httpclient). Please sign in to reply. Reply as... Cancel python shi James Falkner 11 Years Ago OK, thanks, I use the 4.2.1, it is ok. Please sign in to reply. Reply as... Cancel mikel basabe python shi 11 Years Ago Hi everybody,First of all, I would like to congratulate James on this post. It's really useful.But I have a doubt about how you can call "/assetentry/get-entries" method which needs a "com.liferay.portlet.asset.service.persistence.AssetEntryQuery" object as parameter. Any idea? Please sign in to reply. Reply as... Cancel
python shi James Falkner 11 Years Ago OK, thanks, I use the 4.2.1, it is ok. Please sign in to reply. Reply as... Cancel mikel basabe python shi 11 Years Ago Hi everybody,First of all, I would like to congratulate James on this post. It's really useful.But I have a doubt about how you can call "/assetentry/get-entries" method which needs a "com.liferay.portlet.asset.service.persistence.AssetEntryQuery" object as parameter. Any idea? Please sign in to reply. Reply as... Cancel
mikel basabe python shi 11 Years Ago Hi everybody,First of all, I would like to congratulate James on this post. It's really useful.But I have a doubt about how you can call "/assetentry/get-entries" method which needs a "com.liferay.portlet.asset.service.persistence.AssetEntryQuery" object as parameter. Any idea? Please sign in to reply. Reply as... Cancel