cerulean

          Web Service Internationalization

          i18n,之前在J2EE里,自然用struts來做。但是Web Service里貌似應(yīng)該不需要這部分,但是實(shí)際上,有些操作還是避免不了要支持多國語言。
          查了一圈兒,好像WS-i18n還在working draft的階段,而且好像已經(jīng)好幾年了……也沒找到什么開源中間件的實(shí)現(xiàn)。
          大意是在SOAP header中加上<i18n:international>相關(guān)的標(biāo)簽。
          因?yàn)楫吘故荳eb Service,利用http header還是不太妥,還是要放在SOAP里面。

          記錄一下查到的鏈接,備用。

          http://www.coderanch.com/t/224875/Web-Services/java/Web-Services-Internationalization-jax-ws
          For a SOAP web service the language/country code should be part of the SOAP request and possibly the SOAP response. You can always base your solution on the above WS-I18N working draft.
          Internationalization isn't as big a priority with SOAP web services as it is with web pages as web services are consumed by other applications - not humans. In most cases normalized "generic data" is exchanged which is displayed on the client using the client's locale. SOAP web services exchanging localized text are pretty much in the minority.


          posted on 2011-06-15 16:49 cerulean 閱讀(284) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           

          導(dǎo)航

          <2011年6月>
          2930311234
          567891011
          12131415161718
          19202122232425
          262728293012
          3456789

          統(tǒng)計(jì)

          常用鏈接

          留言簿(3)

          隨筆分類

          隨筆檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 郯城县| 双柏县| 阜宁县| 台江县| 沙坪坝区| 新丰县| 深泽县| 铜山县| 黄陵县| 绥滨县| 论坛| 朝阳市| 虹口区| 含山县| 淮阳县| 柞水县| 太白县| 安岳县| 乐业县| 菏泽市| 邵武市| 砀山县| 格尔木市| 土默特右旗| 铜鼓县| 双城市| 甘谷县| 蓬安县| 永泰县| 仁布县| 丰顺县| 阜城县| 琼中| 平邑县| 六枝特区| 沭阳县| 凤山县| 玛曲县| 桃园县| 灵璧县| 金山区|