Consume WCF wsHttpBinding/message/username service from asp.
binding : wsHttpBinding
security mode: Message
Client Credentials : Username
Server certificate : yes
I know how to consume from Desktop app. like...
ServiceReference1.Service1Client jc = new ServiceReference1.Service1Client ();
jc.ClientCredentials.UserName.UserName = "a";
jc.ClientCredentials.UserName.Password = "a";
jc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None;
Console.WriteLine(jc.GetData());
but want to know how to cosume from asp.net or MVC web app????
Thanks...