Prior to using the methods and logic available in MDS, we must configure the MDS WCF service to allow us to generate a proxy class. In order to do this we need to expose the WSDL by making a change to the web.config of the MDS Web Application. Please note that making this change will recycle the IIS application cache.
Open the
Web.config
usually found inC:\Program Files\Microsoft SQL Server\Master Data Services\WebApplication\web.config.
Find the
<ServiceMetaData>
section.Change
httpGetEnabled
toTrue
. If you have MDS set up using SSL, sethttpsGetEnabled
toTrue
instead.
Now we have configured MDS we can get started with the MDS WCF Service. We will begin by creating a new console application in Visual Studio by adding the WCF service API reference to our project.
MDS WCF Service Endpoint: http
://<MDSSERVER>/Service/Service.svc
.
This service endpoint can be checked by simply entering the URL into a browser window and ensuring that...