Beispiel #1
0
        private static Binding GetSoapBinding(ServiceDescription description, string bindingName)
        {
            var soapBindings = description.GetSoapBindings()
                               .Where(binding => binding.Name == bindingName)
                               .OrderByDescending(binding => binding.Type.Name);

            return(soapBindings.FirstOrDefault());
        }