启用的条件:
本地计算机上必须安装了Master Data Services配置管理器。 本地主数据管理器Web应用程序必须存在。 本地或远程Master Data Services数据库必须存在。启用Web服务:
打开Master Data Services 配置管理器。 在左窗格中单击“Web 配置”。 在“Web 配置”页的“Web 应用程序”下,从“网站”列表中选择包含您的主数据管理器Web 应用程序的网站。 在“Web 应用程序”框中,选择承载主数据管理器的 Web 应用程序。 在“Web 服务”下,选择“为此 Web 应用程序启用 Web 服务”,然后单击“应用”。 在文本编辑器中打开Master Data Services Web.config文件。此文件位于Master Data Services安装路径的WebApplication文件夹中。 找到<serviceBehaviors>下的mdsWsHttpBehavior部分。对于<serviceMetadata>元素,将httpGetEnabled设置为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>
关于Master Data Services的Web服务的启用就介绍到这里了,希望本次的介绍能够给您带来一些收获吧,同时谢谢各位的浏览!