Problem on service website authentification.
This code rocks on windows but on monotouch client.ClientCredentials.Windows
don't exists.
Any idea?
var binding = new BasicHttpBinding();
binding.Security.Mode =
BasicHttpSecurityMode.TransportCredentialOnly;
binding.Security.Transport.ClientCredentialType =
HttpClientCredentialType.Ntlm;
var endpoint = new
EndpointAddress("http://....../XXXX.asmx");
var client = new UserWSSoapClient(binding, endpoint);
var creds = client.ClientCredentials.Windows;
creds.AllowedImpersonationLevel =
TokenImpersonationLevel.Delegation;
creds.ClientCredential = new
NetworkCredential("username", "password",
"");
var ctx = new UserWSSoapClient(binding, endpoint);
return ctx;
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Webservice-asmx-ClientCredential-Auth-Problem-tp4657882.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch