diff --git a/SCIStorePlugin/SCIStorePlugin.csproj b/SCIStorePlugin/SCIStorePlugin.csproj index 7073794d..b4d05a19 100644 --- a/SCIStorePlugin/SCIStorePlugin.csproj +++ b/SCIStorePlugin/SCIStorePlugin.csproj @@ -128,7 +128,7 @@ - + diff --git a/SCIStorePlugin/SciStoreApplication.cs b/SCIStorePlugin/SciStoreApplication.cs index 92a571a1..43f3af7b 100644 --- a/SCIStorePlugin/SciStoreApplication.cs +++ b/SCIStorePlugin/SciStoreApplication.cs @@ -1,3 +1,6 @@ +using System.ServiceModel; +using System.ServiceModel.Description; + namespace SciStoreApplication.Properties { internal sealed class Settings : System.Configuration.ApplicationSettingsBase @@ -22139,17 +22142,17 @@ public SCIStoreServicesClient() } public SCIStoreServicesClient(string endpointConfigurationName) : - base(endpointConfigurationName) + base(new ServiceEndpoint(new ContractDescription(endpointConfigurationName))) { } public SCIStoreServicesClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) + this(endpointConfigurationName, new EndpointAddress(remoteAddress)) { } public SCIStoreServicesClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) + this(new ServiceEndpoint(new ContractDescription(endpointConfigurationName)).Binding, remoteAddress) { } diff --git a/SCIStorePlugin/Service References/SciStoreServices81/Reference.cs b/SCIStorePlugin/Service References/SciStoreServices81/Reference.cs index 1692c466..76f9112c 100644 --- a/SCIStorePlugin/Service References/SciStoreServices81/Reference.cs +++ b/SCIStorePlugin/Service References/SciStoreServices81/Reference.cs @@ -8,6 +8,9 @@ // //------------------------------------------------------------------------------ +using System.ServiceModel; +using System.ServiceModel.Description; + namespace SCIStore.SciStoreServices81 { @@ -23615,15 +23618,16 @@ public SCIStoreServicesClient() { } public SCIStoreServicesClient(string endpointConfigurationName) : - base(endpointConfigurationName) { + base(new ServiceEndpoint(new ContractDescription(endpointConfigurationName))) { } public SCIStoreServicesClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) { + this(endpointConfigurationName, new EndpointAddress(remoteAddress)) + { } public SCIStoreServicesClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) { + this(new ServiceEndpoint(new ContractDescription(endpointConfigurationName)).Binding, remoteAddress) { } public SCIStoreServicesClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :