From 3504f9cfb93b8c4b90fc4d3b1dd20372c8b9c087 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Fri, 1 Dec 2023 10:36:27 +0300 Subject: [PATCH] SOAP: use https --- ELT.Client/Connected Services/ELTKasko/ConnectedService.json | 2 +- ELT.Client/Connected Services/ELTKasko/Reference.cs | 3 ++- ELT.Client/Connected Services/ELTOsago/ConnectedService.json | 2 +- ELT.Client/Connected Services/ELTOsago/Reference.cs | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ELT.Client/Connected Services/ELTKasko/ConnectedService.json b/ELT.Client/Connected Services/ELTKasko/ConnectedService.json index 82b57d7..ae1a8b8 100644 --- a/ELT.Client/Connected Services/ELTKasko/ConnectedService.json +++ b/ELT.Client/Connected Services/ELTKasko/ConnectedService.json @@ -1,7 +1,7 @@ { "ExtendedData": { "inputs": [ - "http://evolucia.elt-poisk.com/soap.php?wsdl" + "https://evolucia.elt-poisk.com/soap.php?wsdl" ], "collectionTypes": [ "System.Array", diff --git a/ELT.Client/Connected Services/ELTKasko/Reference.cs b/ELT.Client/Connected Services/ELTKasko/Reference.cs index ec4980e..5e79fbc 100644 --- a/ELT.Client/Connected Services/ELTKasko/Reference.cs +++ b/ELT.Client/Connected Services/ELTKasko/Reference.cs @@ -25385,6 +25385,7 @@ namespace ELTKasko result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; result.MaxReceivedMessageSize = int.MaxValue; result.AllowCookies = true; + result.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.Transport; return result; } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); @@ -25394,7 +25395,7 @@ namespace ELTKasko { if ((endpointConfiguration == EndpointConfiguration.EltSoap)) { - return new System.ServiceModel.EndpointAddress("http://evolucia.elt-poisk.com/soap.php"); + return new System.ServiceModel.EndpointAddress("https://evolucia.elt-poisk.com/soap.php"); } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } diff --git a/ELT.Client/Connected Services/ELTOsago/ConnectedService.json b/ELT.Client/Connected Services/ELTOsago/ConnectedService.json index e047695..1848a11 100644 --- a/ELT.Client/Connected Services/ELTOsago/ConnectedService.json +++ b/ELT.Client/Connected Services/ELTOsago/ConnectedService.json @@ -3,7 +3,7 @@ "Version": "15.0.40203.910", "ExtendedData": { "inputs": [ - "http://evolucia.elt-poisk.com/soaposago.php?wsdl" + "https://evolucia.elt-poisk.com/soaposago.php?wsdl" ], "collectionTypes": [ "System.Array", diff --git a/ELT.Client/Connected Services/ELTOsago/Reference.cs b/ELT.Client/Connected Services/ELTOsago/Reference.cs index c62dc0c..f0deafa 100644 --- a/ELT.Client/Connected Services/ELTOsago/Reference.cs +++ b/ELT.Client/Connected Services/ELTOsago/Reference.cs @@ -6792,6 +6792,7 @@ namespace ELTOsago result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; result.MaxReceivedMessageSize = int.MaxValue; result.AllowCookies = true; + result.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.Transport; return result; } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); @@ -6801,7 +6802,7 @@ namespace ELTOsago { if ((endpointConfiguration == EndpointConfiguration.EltSoap)) { - return new System.ServiceModel.EndpointAddress("http://evolucia.elt-poisk.com/soaposago.php"); + return new System.ServiceModel.EndpointAddress("https://evolucia.elt-poisk.com/soaposago.php"); } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); }