Hello, I'm trying connect to webservice from Visual Studio with C# and I've a problem with the ClientCredentials.
Error: "The HTTP request doesn't authorized with the client scheme 'Anonymous'".
1.) The Webservice runs at the used URL? (Does it work in IE)
2.) How do you call the webservice? (UseDefaultCredential, via NetworkCredential Object? )
Can you find an option to set the authentification Mode (ntauthenification) ?
its been a while since i consumed a nav webservice from .NET, hopefully i helped you a bit.
Comments
1.) The Webservice runs at the used URL? (Does it work in IE)
2.) How do you call the webservice? (UseDefaultCredential, via NetworkCredential Object? )
Can you find an option to set the authentification Mode (ntauthenification) ?
its been a while since i consumed a nav webservice from .NET, hopefully i helped you a bit.
EDIT: I've solve the problem, solution:
And "binding" is a parameter for constructor.