启用 Master Data Services 的 Web Service

概述

  • 本地计算机上必须安装了 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>


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值