Programatically set the binding to use transport/w certificate
WSHttpBinding binding = new WSHttpBinding(); binding.Security.Mode = SecurityMode.T