Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

Security error running C# web service program on client machine

$
0
0

I have been trying to test MDS Web Services via the Visual C# examples retrieved from Microsoft here: sqlserversamples.codeplex.com/wikipage?title=SQL%20Server%202012%20Master%20Data%20Services

Specifically, I have been testing the Metadata program. If I run the Metadata executable on the MDS web server, it works fine.

However, if I run that same executable on my client machine, I get the following error message (server name details removed):

"SOAP security negotiation with 'blah/Service/Service.svc' for target blah:8080/Service/Service.svc' failed. See inner exception for more details."

When I google this error message, I see postings that make me wonder if I need to somehow set the proxy server in the C# code to point to a specific user account on the MDS web server.

My C# program is using the Ws binding. The only change I made to the C# code was to point it to my MDS web server. My web.config file on the MDS web server is using the default settings - nothing unusual.

I tried using the Basic binding in my C# code but that just led to a lot of other error messages, such as "Content Type text/xml; charset=utf-8 was not supported by service blah:8080/Service/Service.svc.  The client and service bindings may be mismatched."

Can anyone offer a suggestion for how to get around this error message?

Thanks in advance,

Chris.


Viewing all articles
Browse latest Browse all 1311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>