Frans Thamura 12 年之前 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? 请登录以投票。 以……回复 取消
filip Lagerlov 12 年之前 Yes but how do u make a json request to a custom service? 请登录以投票。 以……回复 取消 James Falkner filip Lagerlov 12 年之前 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 请登录以投票。 以……回复 取消 filip Lagerlov James Falkner 12 年之前 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, 请登录以投票。 以……回复 取消 filip Lagerlov filip Lagerlov 12 年之前 all creds to this post http://www.liferay.com/zh/community/forums/-/message_boards/message/7779777 请登录以投票。 以……回复 取消
James Falkner filip Lagerlov 12 年之前 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 请登录以投票。 以……回复 取消 filip Lagerlov James Falkner 12 年之前 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, 请登录以投票。 以……回复 取消 filip Lagerlov filip Lagerlov 12 年之前 all creds to this post http://www.liferay.com/zh/community/forums/-/message_boards/message/7779777 请登录以投票。 以……回复 取消
filip Lagerlov James Falkner 12 年之前 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, 请登录以投票。 以……回复 取消 filip Lagerlov filip Lagerlov 12 年之前 all creds to this post http://www.liferay.com/zh/community/forums/-/message_boards/message/7779777 请登录以投票。 以……回复 取消
filip Lagerlov filip Lagerlov 12 年之前 all creds to this post http://www.liferay.com/zh/community/forums/-/message_boards/message/7779777 请登录以投票。 以……回复 取消
Hitoshi Ozawa 12 年之前 Your example 3 would not work in 6.1 because they deleted addArticle interface. 请登录以投票。 以……回复 取消 Rajeev Kumar Hitoshi Ozawa 12 年之前 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. 请登录以投票。 以……回复 取消 James Falkner Rajeev Kumar 12 年之前 Check out http://www.liferay.com/community/forums/-/message_boards/message/13489024 I have re-done the example 3 for Liferay 6.1. 请登录以投票。 以……回复 取消
Rajeev Kumar Hitoshi Ozawa 12 年之前 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. 请登录以投票。 以……回复 取消 James Falkner Rajeev Kumar 12 年之前 Check out http://www.liferay.com/community/forums/-/message_boards/message/13489024 I have re-done the example 3 for Liferay 6.1. 请登录以投票。 以……回复 取消
James Falkner Rajeev Kumar 12 年之前 Check out http://www.liferay.com/community/forums/-/message_boards/message/13489024 I have re-done the example 3 for Liferay 6.1. 请登录以投票。 以……回复 取消
python shi 11 年之前 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. 请登录以投票。 以……回复 取消 James Falkner python shi 11 年之前 "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). 请登录以投票。 以……回复 取消 python shi James Falkner 11 年之前 OK, thanks, I use the 4.2.1, it is ok. 请登录以投票。 以……回复 取消 mikel basabe python shi 11 年之前 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? 请登录以投票。 以……回复 取消
James Falkner python shi 11 年之前 "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). 请登录以投票。 以……回复 取消 python shi James Falkner 11 年之前 OK, thanks, I use the 4.2.1, it is ok. 请登录以投票。 以……回复 取消 mikel basabe python shi 11 年之前 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? 请登录以投票。 以……回复 取消
python shi James Falkner 11 年之前 OK, thanks, I use the 4.2.1, it is ok. 请登录以投票。 以……回复 取消 mikel basabe python shi 11 年之前 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? 请登录以投票。 以……回复 取消
mikel basabe python shi 11 年之前 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? 请登录以投票。 以……回复 取消