Blog Post

Master Data Services Web Services API Error

,

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)

Rate

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating

Share

Share

Rate

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating