#region Calling WCF Service
var myBinding = new WSHttpBinding(SecurityMode.None);
//binding.Security.Mode = WSDualHttpSecurityMode.None;
myBinding.MaxReceivedMessageSize = 2147483647;
myBinding.MaxBufferPoolSize = 2147483647;
myBinding.SendTimeout = TimeSpan.FromMinutes(3);
myBinding.ReceiveTimeout = TimeSpan.FromMinutes(3);
myBinding.OpenTimeout = TimeSpan.FromMinutes(3);
myBinding.CloseTimeout = TimeSpan.FromMinutes(3);
myBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
myBinding.Security.Message.EstablishSecurityContext = false;
myBinding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None;
System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
EndpointAddress endPointAddress = new EndpointAddress("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.svc");
ChannelFactory<ICustSupportService> factory = new ChannelFactory<ICustSupportService>(myBinding, endPointAddress);
ICustSupportService channel = factory.CreateChannel();
*This post is locked for comments