如何啟用Master Data Services的Web服務(wù)
作者:xuyue1987
本文我們介紹了Master Data Services的Web服務(wù)的啟用方法以及啟用時(shí)需要滿足的條件等,希望能夠?qū)δ兴鶐椭?/div>
啟用的條件:
- 本地計(jì)算機(jī)上必須安裝了Master Data Services配置管理器。
- 本地主數(shù)據(jù)管理器Web應(yīng)用程序必須存在。
- 本地或遠(yuǎn)程Master Data Services數(shù)據(jù)庫必須存在。
啟用Web服務(wù):
- 打開Master Data Services 配置管理器。
- 在左窗格中單擊“Web 配置”。
- 在“Web 配置”頁的“Web 應(yīng)用程序”下,從“網(wǎng)站”列表中選擇包含您的主數(shù)據(jù)管理器Web 應(yīng)用程序的網(wǎng)站。
- 在“Web 應(yīng)用程序”框中,選擇承載主數(shù)據(jù)管理器的 Web 應(yīng)用程序。
- 在“Web 服務(wù)”下,選擇“為此 Web 應(yīng)用程序啟用 Web 服務(wù)”,然后單擊“應(yīng)用”。
- 在文本編輯器中打開Master Data Services Web.config文件。此文件位于Master Data Services安裝路徑的WebApplication文件夾中。
- 找到<serviceBehaviors>下的mdsWsHttpBehavior部分。對(duì)于<serviceMetadata>元素,將httpGetEnabled設(shè)置為true。該文件的代碼如下:
- <system.serviceModel>
- <behaviors>
- <serviceBehaviors>
- <behavior name="mdsWsHttpBehavior">
- <!-- Enable to allow clients to retrieve metadata (WSDL) about the service endpoints. -->
- <!-- If not using SSL (httpGetEnabled="true" httpsGetEnabled="false") to expose service metadata.—>
- <!-- If SSL is being used (httpGetEnabled="false" httpsGetEnabled="true") to expose service metadata.-->
- <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
- <!-- Enable to allow clients to see service exception details -->
- <serviceDebug includeExceptionDetailInFaults="true" />
- <serviceThrottling maxConcurrentSessions="400"/>
- <dataContractSerializer maxItemsInObjectGraph="999999999"/>
- </behavior>
- </serviceBehaviors>
- </behaviors>
- …
- </system.serviceModel>
關(guān)于Master Data Services的Web服務(wù)的啟用就介紹到這里了,希望本次的介紹能夠給您帶來一些收獲吧,同時(shí)謝謝各位的瀏覽!
【編輯推薦】
責(zé)任編輯:趙鵬
來源:
CSDN博客


相關(guān)推薦




