如何启用Master Data Services的Web服务

数据库 SQL Server
本文我们介绍了Master Data Services的Web服务的启用方法以及启用时需要满足的条件等,希望能够对您有所帮助。

启用的条件:

  • 本地计算机上必须安装了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。该文件的代码如下:
  1. <system.serviceModel>     
  2.  
  3. <behaviors>     
  4.  
  5. <serviceBehaviors>     
  6.  
  7. <behavior name="mdsWsHttpBehavior">     
  8.  
  9. <!-- Enable to allow clients to retrieve metadata (WSDL) about the service endpoints. -->     
  10.  
  11. <!-- If not using SSL (httpGetEnabled="true" httpsGetEnabled="false") to expose service metadata.—>      
  12.  
  13. <!-- If SSL is being used (httpGetEnabled="false" httpsGetEnabled="true") to expose service metadata.-->     
  14.  
  15. <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />     
  16.  
  17. <!-- Enable to allow clients to see service exception details -->     
  18.  
  19. <serviceDebug includeExceptionDetailInFaults="true" />     
  20.  
  21. <serviceThrottling maxConcurrentSessions="400"/>     
  22.  
  23. <dataContractSerializer maxItemsInObjectGraph="999999999"/>     
  24.  
  25. </behavior>     
  26.  
  27. </serviceBehaviors>     
  28.  
  29. </behaviors>     
  30.  
  31. …     
  32.  
  33. </system.serviceModel>  

 关于Master Data Services的Web服务的启用就介绍到这里了,希望本次的介绍能够给您带来一些收获吧,同时谢谢各位的浏览!

【编辑推荐】

  1. 如何修改MySQL数据库引擎为INNODB
  2. 简单说一说MySQL Replication环境搭建
  3. 关于MySQL数据库创建内存表时的一些注意事项
  4. MySQL数据库导入或导出时字符编码集的设置方法
  5. 关于MySQL数据库修改root用户使其远程登录的说明
责任编辑:赵鹏 来源: CSDN博客
相关推荐

2013-11-11 11:10:41

Amazon Web AWS云服务

2011-07-29 10:02:59

Master DataAPIModel

2009-02-20 09:19:56

AJAXASP.NETWeb Service

2009-03-12 11:26:35

Data ServicADO.NET.NET

2010-10-26 09:23:03

Web Service

2009-08-12 17:44:30

C# Web Serv

2013-10-11 10:22:56

Amazon Web AWS云服务

2009-01-03 14:32:20

ibmdwWebServicesEclipse

2013-11-18 09:49:00

亚马逊Web ServiceCloudTrail

2009-08-27 10:52:36

ibmdw云计算

2009-07-24 16:05:05

调用Web ServiASP.NET

2015-06-18 07:20:18

2022-11-08 11:39:34

Web浏览器深色模式

2009-06-18 09:29:44

Spring Web

2021-07-28 23:32:09

Nginx服务器Https

2013-10-28 01:57:27

SpringRESTful Web

2009-08-24 17:34:14

C#创建XML Web

2012-12-25 10:44:06

IBMdW

2011-05-25 17:10:39

ibmdw

2010-11-26 13:55:38

Reporting S
点赞
收藏

51CTO技术栈公众号