http://www.sqlservercentral.com/blogs/jamesserra/2012/11/20/master-data-services-web-services-api-error/

Printed 2014/10/22 08:37PM

Master Data Services Web Services API Error

2012/11/20

In Master Data Services (MDS), I received an error when using C# code in the script task in SSIS 2012 to call the MDS web services API:

To fix this, I had to edit the web.config in C:\Program Files\Microsoft SQL Server\110\Master Data Services\WebApplication:

Under ” <behavior name=”mdsWsHttpBehavior”>”

Change

<serviceMetadata httpGetEnabled=”false” httpsGetEnabled=”false”/>

To

<serviceMetadata httpGetEnabled=”true” httpsGetEnabled=”false”/>

Under “<basicHttpBinding>”

Change

<security mode=”TransportCredentialOnly”>
<transport clientCredentialType=”Windows”/>
</security>

To

<security mode=”TransportCredentialOnly”>
<transport clientCredentialType=”None”/>
</security>

More info:

Getting Started with the Web Services API in SQL Server 2008 R2 Master Data Services

Web Configuration Reference (Master Data Services)


Copyright © 2002-2014 Simple Talk Publishing. All Rights Reserved. Privacy Policy. Terms of Use. Report Abuse.