簡體   English   中英

Liferay 6.1中的XML Web服務

[英]XML Web Service in Liferay 6.1

我是Liferay的新手。 我正在使用Liferay 6.1。 我的要求是開發僅返回XML提要的Web服務。 我可以看到Liferay在JSON,SOAP或WSDL方面已經變得很容易。 我要做的是從數據庫中選擇數據,並在調用portlet時返回XML,就像在Servlet中一樣。

如果您簡短地描述或參考一些闡述了解決方案的博客,我將不勝感激。

要訪問Liferay的JSON Web服務api,您可以使用

http://localhost:8080/api/jsonws 

為您的本地服務器(將主機更改為其他服務器)為了了解其工作原理,liferay社區提供了非常詳細的說明: http://www.liferay.com/web/james.falkner/blog/-/blogs/yet-another-liferay-json-service-example update on : : http://www.liferay.com/web/james.falkner/blog/-/blogs/yet-another-liferay-json-service-example update on : http://www.liferay.com/community/forums /-// message_boards / message / 13489024`,這是官方文檔:

http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/json-web-services

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM