让SAP云平台上的Web应用使用destination服务
生活随笔
收集整理的這篇文章主要介紹了
让SAP云平台上的Web应用使用destination服务
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
首先在SAP云平臺(tái)里創(chuàng)建一個(gè)destination,維護(hù)service的end point:
然后打開(kāi)SAP云平臺(tái)的WebIDE,創(chuàng)建一個(gè)新的文件夾和新的HTML5 Application Descriptor:
將下列內(nèi)容粘貼到neo-app.json去:
{"welcomeFile": "index.html","routes": [{"path": "/resources","target": {"type": "service","name": "sapui5","entryPath": "/resources"},"description": "SAPUI5 Resources"},{"path": "/test-resources","target": {"type": "service","name": "sapui5","entryPath": "/test-resources"},"description": "SAPUI5 Test Resources"},{"path": "/distance","target": {"type": "destination","name": "google_map"},"description": "Google map"}] }新建一個(gè)index.html, 輸入以下內(nèi)容:
<a href="distance/xml?origins=Walldorf&destinations=Paris">Distance from Walldorf to Paris:</a>測(cè)試該應(yīng)用,點(diǎn)擊超鏈接:
會(huì)發(fā)現(xiàn)第一步創(chuàng)建的destination已經(jīng)生效了。
要獲取更多Jerry的原創(chuàng)技術(shù)文章,請(qǐng)關(guān)注公眾號(hào)"汪子熙"或者掃描下面二維碼:
總結(jié)
以上是生活随笔為你收集整理的让SAP云平台上的Web应用使用destination服务的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: GPD 新款掌机现身 Geekbench
- 下一篇: 使用SAP云平台 + JNDI访问Int