
通過
http://diablo.herr.corp:50018/sap/opu/sdata/sap/customer_briefing?sap-client=001我們可以拿到customer briefing的service document。
Service document裡面隻定義了哪些entity暴露了哪些操作,真正metadata的full definition xml用這個URL down:
http://ldcigm2.jerry.corp:50018/sap/opu/sdata/sap/customer_briefing/KaTeXparse error: Expected 'EOF', got '&' at position 24: …?sap-client=001&̲format=xml
service document也能通過SICF進去之後,從sap node出發,點test拿到。
Search 所有name property中包含“UT_Customer” 的Customer
http://ldcigm2.jerry.corp:50018/sap/opu/sdata/sap/CUSTOMER_BRIEFING/CustomerCollection?sap-client=001&$format=xml&search=UT_Customer傳回Partner ID = 133的customer的detail 資訊
http://ldcigm2.jerry.corp:50018/sap/opu/sdata/sap/CUSTOMER_BRIEFING/CustomerCollection(133)?sap-client=001&$format=xml所有這些操作都在service provider class CL_LWM_CB_ADAPTER_RDP裡面實作,
如果我們直接在IE裡面通過
的URL consume OData service:
Gateway 系統上首先會根據OData service expose出來的external name找到internal使用的service ID: