Я пытаюсь интегрироваться с сервисом WCF из проекта .net standard 2.0 и получаю следующее исключение:
{System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at https://X.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Я проверил конечную точку, и она верна, и я попытался инициализировать привязку вручную:
var wsHttpBinding = new BasicHttpsBinding();
wsHttpBinding.TextEncoding = Encoding.Default;
wsHttpBinding.ReaderQuotas = XmlDictionaryReaderQuotas.Max;
wsHttpBinding.Security.Mode = BasicHttpsSecurityMode.Transport;
wsHttpBinding.ReceiveTimeout = TimeSpan.FromSeconds(10000);
wsHttpBinding.MaxBufferPoolSize = 50000000;
wsHttpBinding.MaxReceivedMessageSize = 50000000;
wsHttpBinding.ReaderQuotas.MaxStringContentLength = 50000000;
wsHttpBinding.ReaderQuotas.MaxArrayLength = 50000000;
wsHttpBinding.ReaderQuotas.MaxNameTableCharCount = 50000000;
Спасибо