diff --git a/Directory.Build.props b/Directory.Build.props index 4b17a0b70be..6e1c2e84b87 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -25,8 +25,8 @@ - net6.0;net7.0 - net6.0;net7.0 + net6.0;net8.0 + net6.0;net8.0 net6.0 diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/array/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/array/Reference.cs index e3eb6324af1..17acf36a90b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/array/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/array/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/arrayList/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/arrayList/Reference.cs index 2094defefa1..b003a8bc9bc 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/arrayList/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/arrayList/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/collection/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/collection/Reference.cs index 5de44e81e35..5cb2d199622 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/collection/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/collection/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/dictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/dictionary/Reference.cs index 92533df0bfa..04292e9ee32 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/dictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/dictionary/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/hashTable/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/hashTable/Reference.cs index 7c7c86e5c0f..a819c23be3d 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/hashTable/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/hashTable/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/hybridDictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/hybridDictionary/Reference.cs index 4cf4d851b1a..31595a64f4b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/hybridDictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/hybridDictionary/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/linkedList/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/linkedList/Reference.cs index b0eaa60af6e..d7ae5d1dfcc 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/linkedList/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/linkedList/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/list/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/list/Reference.cs index 658e752afa6..ce2632bfe90 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/list/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/list/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/listDictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/listDictionary/Reference.cs index 73d8cd79a35..707bb364dd4 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/listDictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/listDictionary/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/observableCollection/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/observableCollection/Reference.cs index bd61a06eda1..c9c3374520f 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/observableCollection/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/observableCollection/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/orderedDictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/orderedDictionary/Reference.cs index c3259741127..757dec82e76 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/orderedDictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/orderedDictionary/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedDictionary/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedDictionary/Reference.cs index d831c366cc3..0596aa71d11 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedDictionary/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedDictionary/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedList/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedList/Reference.cs index c629a5a9225..9bd7ff495b3 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedList/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedList/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedListNonGeneric/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedListNonGeneric/Reference.cs index f9fab881578..2172d550cea 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedListNonGeneric/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/Collections/sortedListNonGeneric/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/DuplexCallback/Duplex/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/DuplexCallback/Duplex/Reference.cs index add1277ceaa..ef640c28906 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/DuplexCallback/Duplex/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/DuplexCallback/Duplex/Reference.cs @@ -88,11 +88,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.tcp_nosecurity_callback_IWcfDuplexService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/FederationServiceTest/Saml2IssuedToken_mex/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/FederationServiceTest/Saml2IssuedToken_mex/Reference.cs index 5a69e0369e5..e2a0082cc28 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/FederationServiceTest/Saml2IssuedToken_mex/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/FederationServiceTest/Saml2IssuedToken_mex/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(Saml2IssuedToken_mex_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(Saml2IssuedToken_mex_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(Saml2IssuedToken_mex_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(Saml2IssuedToken_mex_NS.TestFaultsRequest request); @@ -2647,11 +2647,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.issued_token_using_tls_x002F_wsHttp_x002F_wstrust13_x002F_Text_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/mexParam/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/mexParam/Reference.cs index 0097d1bcc67..dec56e08c23 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/mexParam/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/mexParam/Reference.cs @@ -126,11 +126,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/noQuery/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/noQuery/Reference.cs index 2f044d7a601..d97894ab7ce 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/noQuery/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/noQuery/Reference.cs @@ -126,11 +126,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/singleWsdlQuery/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/singleWsdlQuery/Reference.cs index 1d59141edd6..4da0694683d 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/singleWsdlQuery/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/singleWsdlQuery/Reference.cs @@ -126,11 +126,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/wsdlQuery/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/wsdlQuery/Reference.cs index c7ee7533bfa..7f897ecd76e 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/wsdlQuery/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MetadataQuery/wsdlQuery/Reference.cs @@ -126,11 +126,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Service1_IService1)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAll/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAll/Reference.cs index 44090ede352..2a26b3c7677 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAll/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAll/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAllRelative/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAllRelative/Reference.cs index 6622f125620..993def59134 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAllRelative/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocAllRelative/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullAndWildcard/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullAndWildcard/Reference.cs index e3ac12c0343..a58b60bf5ba 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullAndWildcard/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullAndWildcard/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullPath/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullPath/Reference.cs index 9cf14af69c5..ff20a3b3ec5 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullPath/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocFullPath/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativeAndWildcard/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativeAndWildcard/Reference.cs index 4496fd67eb1..8ba638abb37 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativeAndWildcard/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativeAndWildcard/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativePath/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativePath/Reference.cs index f6d94e56ada..80673cd58c5 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativePath/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocRelativePath/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlRelXsdWildcard/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlRelXsdWildcard/Reference.cs index 55c8bde2779..3f3ae29729d 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlRelXsdWildcard/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlRelXsdWildcard/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcard/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcard/Reference.cs index 82c5bc62a0f..705e6239a89 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcard/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcard/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcardRelative/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcardRelative/Reference.cs index 58e5b0dab95..192b27b886f 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcardRelative/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlWildcardRelative/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlXsdWildcardRelative/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlXsdWildcardRelative/Reference.cs index c95269a2cb3..ab9c5623063 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlXsdWildcardRelative/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/MultipleDocuments/multiDocWsdlXsdWildcardRelative/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/urlNamespace/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/urlNamespace/Reference.cs index 6ddff1ebb46..1f25082cc54 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/urlNamespace/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/urlNamespace/Reference.cs @@ -899,11 +899,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/wildcardNamespace/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/wildcardNamespace/Reference.cs index 6872e94a031..a7c83c11bc6 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/wildcardNamespace/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/NamespaceParam/wildcardNamespace/Reference.cs @@ -889,11 +889,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.defaultEndpoint)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/Reference.cs deleted file mode 100644 index 405cf1ae720..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/Reference.cs +++ /dev/null @@ -1,195 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace TFnet5_0_NS -{ - using System.Runtime.Serialization; - - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.Runtime.Serialization.DataContractAttribute(Name="BinLibrary", Namespace="http://schemas.datacontract.org/2004/07/BinLib")] - public partial class BinLibrary : object - { - - private string ValueField; - - [System.Runtime.Serialization.DataMemberAttribute()] - public string Value - { - get - { - return this.ValueField; - } - set - { - this.ValueField = value; - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.Runtime.Serialization.DataContractAttribute(Name="TypeReuseCompositeType", Namespace="http://schemas.datacontract.org/2004/07/TypesLib")] - public partial class TypeReuseCompositeType : object - { - - private bool BoolValueField; - - private string StringValueField; - - [System.Runtime.Serialization.DataMemberAttribute()] - public bool BoolValue - { - get - { - return this.BoolValueField; - } - set - { - this.BoolValueField = value; - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string StringValue - { - get - { - return this.StringValueField; - } - set - { - this.StringValueField = value; - } - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.ServiceModel.ServiceContractAttribute(ConfigurationName="TFnet5_0_NS.ITypeReuseSvc")] - public interface ITypeReuseSvc - { - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITypeReuseSvc/GetData", ReplyAction="http://tempuri.org/ITypeReuseSvc/GetDataResponse")] - System.Threading.Tasks.Task GetDataAsync(int value); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITypeReuseSvc/GetDataUsingDataContract", ReplyAction="http://tempuri.org/ITypeReuseSvc/GetDataUsingDataContractResponse")] - System.Threading.Tasks.Task GetDataUsingDataContractAsync(TFnet5_0_NS.TypeReuseCompositeType composite); - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public interface ITypeReuseSvcChannel : TFnet5_0_NS.ITypeReuseSvc, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public partial class TypeReuseSvcClient : System.ServiceModel.ClientBase, TFnet5_0_NS.ITypeReuseSvc - { - - /// - /// Implement this partial method to configure the service endpoint. - /// - /// The endpoint to configure - /// The client credentials - static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); - - public TypeReuseSvcClient() : - base(TypeReuseSvcClient.GetDefaultBinding(), TypeReuseSvcClient.GetDefaultEndpointAddress()) - { - this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), TypeReuseSvcClient.GetEndpointAddress(endpointConfiguration)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - public System.Threading.Tasks.Task GetDataAsync(int value) - { - return base.Channel.GetDataAsync(value); - } - - public System.Threading.Tasks.Task GetDataUsingDataContractAsync(TFnet5_0_NS.TypeReuseCompositeType composite) - { - return base.Channel.GetDataUsingDataContractAsync(composite); - } - - public virtual System.Threading.Tasks.Task OpenAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); - } - - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) - { - System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); - result.MaxBufferSize = int.MaxValue; - result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; - result.MaxReceivedMessageSize = int.MaxValue; - result.AllowCookies = true; - return result; - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) - { - return new System.ServiceModel.EndpointAddress("http://localhost:51074/TypeReuseSvc.svc"); - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.Channels.Binding GetDefaultBinding() - { - return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); - } - - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() - { - return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); - } - - public enum EndpointConfiguration - { - - BasicHttpBinding_ITypeReuseSvc, - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.cs b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.cs deleted file mode 100644 index 5f31844e1b7..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace TFnet5_0 -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.csproj b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.csproj deleted file mode 100644 index 9c06387c92c..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - N.N - latest - - - - - - - - - \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/Reference.cs deleted file mode 100644 index 4b6e2d99351..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/Reference.cs +++ /dev/null @@ -1,195 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace TFnetcoreapp3_1_NS -{ - using System.Runtime.Serialization; - - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.Runtime.Serialization.DataContractAttribute(Name="BinLibrary", Namespace="http://schemas.datacontract.org/2004/07/BinLib")] - public partial class BinLibrary : object - { - - private string ValueField; - - [System.Runtime.Serialization.DataMemberAttribute()] - public string Value - { - get - { - return this.ValueField; - } - set - { - this.ValueField = value; - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.Runtime.Serialization.DataContractAttribute(Name="TypeReuseCompositeType", Namespace="http://schemas.datacontract.org/2004/07/TypesLib")] - public partial class TypeReuseCompositeType : object - { - - private bool BoolValueField; - - private string StringValueField; - - [System.Runtime.Serialization.DataMemberAttribute()] - public bool BoolValue - { - get - { - return this.BoolValueField; - } - set - { - this.BoolValueField = value; - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string StringValue - { - get - { - return this.StringValueField; - } - set - { - this.StringValueField = value; - } - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.ServiceModel.ServiceContractAttribute(ConfigurationName="TFnetcoreapp3_1_NS.ITypeReuseSvc")] - public interface ITypeReuseSvc - { - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITypeReuseSvc/GetData", ReplyAction="http://tempuri.org/ITypeReuseSvc/GetDataResponse")] - System.Threading.Tasks.Task GetDataAsync(int value); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITypeReuseSvc/GetDataUsingDataContract", ReplyAction="http://tempuri.org/ITypeReuseSvc/GetDataUsingDataContractResponse")] - System.Threading.Tasks.Task GetDataUsingDataContractAsync(TFnetcoreapp3_1_NS.TypeReuseCompositeType composite); - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public interface ITypeReuseSvcChannel : TFnetcoreapp3_1_NS.ITypeReuseSvc, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public partial class TypeReuseSvcClient : System.ServiceModel.ClientBase, TFnetcoreapp3_1_NS.ITypeReuseSvc - { - - /// - /// Implement this partial method to configure the service endpoint. - /// - /// The endpoint to configure - /// The client credentials - static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); - - public TypeReuseSvcClient() : - base(TypeReuseSvcClient.GetDefaultBinding(), TypeReuseSvcClient.GetDefaultEndpointAddress()) - { - this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), TypeReuseSvcClient.GetEndpointAddress(endpointConfiguration)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - public System.Threading.Tasks.Task GetDataAsync(int value) - { - return base.Channel.GetDataAsync(value); - } - - public System.Threading.Tasks.Task GetDataUsingDataContractAsync(TFnetcoreapp3_1_NS.TypeReuseCompositeType composite) - { - return base.Channel.GetDataUsingDataContractAsync(composite); - } - - public virtual System.Threading.Tasks.Task OpenAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); - } - - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) - { - System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); - result.MaxBufferSize = int.MaxValue; - result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; - result.MaxReceivedMessageSize = int.MaxValue; - result.AllowCookies = true; - return result; - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) - { - return new System.ServiceModel.EndpointAddress("http://localhost:51074/TypeReuseSvc.svc"); - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.Channels.Binding GetDefaultBinding() - { - return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); - } - - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() - { - return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); - } - - public enum EndpointConfiguration - { - - BasicHttpBinding_ITypeReuseSvc, - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.cs b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.cs deleted file mode 100644 index c49aca35a83..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace TFnetcoreapp3_1 -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.csproj b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.csproj deleted file mode 100644 index 31492323aec..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - Exe - N.N - latest - - - - - - - - \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.params.json b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.params.json deleted file mode 100644 index 0446395bb15..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.params.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "providerId": "TFnetcoreapp3_1", - "version": "99.99.99", - "options": { - "inputs": [ - "$testCasesPath$/wsdl/Simple.wsdl" - ], - "bootstrapPath": "$resultPath$/TestBootstrap/ParamsFiles_SDK_TFM/TFnetcoreapp3_1", - "namespaceMappings": [ - "*, TFnetcoreapp3_1_NS" - ], - "noLogo": true, - "noTelemetry": true, - "outputDir": "$resultPath$/TestResults/ParamsFiles_SDK_TFM/TFnetcoreapp3_1", - "projectFile": "$resultPath$/TestResults/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/TFnetcoreapp3_1.csproj", - "references": [ - "Newtonsoft.Json, {Newtonsoft.Json, 99.99.99}" - ], - "toolContext": "Global", - "verbosity": "Minimal" - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/dotnet-svcutil.params.json b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/dotnet-svcutil.params.json deleted file mode 100644 index 8d60ea96930..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/dotnet-svcutil.params.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "providerId": "Microsoft.Tools.ServiceModel.Svcutil", - "version": "99.99.99", - "options": { - "inputs": [ - "../../../../../src/dotnet-svcutil/lib/tests/TestCases/wsdl/Simple.wsdl" - ], - "namespaceMappings": [ - "*, TFnetcoreapp3_1_NS" - ], - "outputFile": "Reference.cs", - "references": [ - "Newtonsoft.Json, {Newtonsoft.Json, 99.99.99}" - ], - "targetFramework": "N.N", - "typeReuseMode": "Specified" - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/global.json b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/global.json deleted file mode 100644 index 7a7ec0adddb..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnetcoreapp3_1/global.json +++ /dev/null @@ -1 +0,0 @@ -{ "sdk": { "version": "99.99.99" } } \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/Reference.cs new file mode 100644 index 00000000000..eaf6a015be8 --- /dev/null +++ b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/Reference.cs @@ -0,0 +1,2696 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace _edb_NS +{ + + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.contoso.com/wcfnamespace")] + public partial class FaultDetail + { + + private string messageField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public string Message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.contoso.com/wcfnamespace")] + public partial class ComplexCompositeType + { + + private bool boolValueField; + + private bool boolValueFieldSpecified; + + private byte[] byteArrayValueField; + + private int[] charArrayValueField; + + private int charValueField; + + private bool charValueFieldSpecified; + + private System.DateTime dateTimeValueField; + + private bool dateTimeValueFieldSpecified; + + private DayOfWeek dayOfWeekValueField; + + private bool dayOfWeekValueFieldSpecified; + + private double doubleValueField; + + private bool doubleValueFieldSpecified; + + private float floatValueField; + + private bool floatValueFieldSpecified; + + private string guidValueField; + + private int intValueField; + + private bool intValueFieldSpecified; + + private long longValueField; + + private bool longValueFieldSpecified; + + private string longerStringValueField; + + private sbyte sbyteValueField; + + private bool sbyteValueFieldSpecified; + + private short shortValueField; + + private bool shortValueFieldSpecified; + + private string stringValueField; + + private string timeSpanValueField; + + private uint uintValueField; + + private bool uintValueFieldSpecified; + + private ulong ulongValueField; + + private bool ulongValueFieldSpecified; + + private ushort ushortValueField; + + private bool ushortValueFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BoolValue + { + get + { + return this.boolValueField; + } + set + { + this.boolValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool BoolValueSpecified + { + get + { + return this.boolValueFieldSpecified; + } + set + { + this.boolValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", IsNullable=true, Order=1)] + public byte[] ByteArrayValue + { + get + { + return this.byteArrayValueField; + } + set + { + this.byteArrayValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true, Order=2)] + [System.Xml.Serialization.XmlArrayItemAttribute("char", Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays", IsNullable=false)] + public int[] CharArrayValue + { + get + { + return this.charArrayValueField; + } + set + { + this.charArrayValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int CharValue + { + get + { + return this.charValueField; + } + set + { + this.charValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool CharValueSpecified + { + get + { + return this.charValueFieldSpecified; + } + set + { + this.charValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime DateTimeValue + { + get + { + return this.dateTimeValueField; + } + set + { + this.dateTimeValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DateTimeValueSpecified + { + get + { + return this.dateTimeValueFieldSpecified; + } + set + { + this.dateTimeValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public DayOfWeek DayOfWeekValue + { + get + { + return this.dayOfWeekValueField; + } + set + { + this.dayOfWeekValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DayOfWeekValueSpecified + { + get + { + return this.dayOfWeekValueFieldSpecified; + } + set + { + this.dayOfWeekValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public double DoubleValue + { + get + { + return this.doubleValueField; + } + set + { + this.doubleValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DoubleValueSpecified + { + get + { + return this.doubleValueFieldSpecified; + } + set + { + this.doubleValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public float FloatValue + { + get + { + return this.floatValueField; + } + set + { + this.floatValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool FloatValueSpecified + { + get + { + return this.floatValueFieldSpecified; + } + set + { + this.floatValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string GuidValue + { + get + { + return this.guidValueField; + } + set + { + this.guidValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int IntValue + { + get + { + return this.intValueField; + } + set + { + this.intValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IntValueSpecified + { + get + { + return this.intValueFieldSpecified; + } + set + { + this.intValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public long LongValue + { + get + { + return this.longValueField; + } + set + { + this.longValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool LongValueSpecified + { + get + { + return this.longValueFieldSpecified; + } + set + { + this.longValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=11)] + public string LongerStringValue + { + get + { + return this.longerStringValueField; + } + set + { + this.longerStringValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public sbyte SbyteValue + { + get + { + return this.sbyteValueField; + } + set + { + this.sbyteValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SbyteValueSpecified + { + get + { + return this.sbyteValueFieldSpecified; + } + set + { + this.sbyteValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public short ShortValue + { + get + { + return this.shortValueField; + } + set + { + this.shortValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ShortValueSpecified + { + get + { + return this.shortValueFieldSpecified; + } + set + { + this.shortValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=14)] + public string StringValue + { + get + { + return this.stringValueField; + } + set + { + this.stringValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="duration", Order=15)] + public string TimeSpanValue + { + get + { + return this.timeSpanValueField; + } + set + { + this.timeSpanValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public uint UintValue + { + get + { + return this.uintValueField; + } + set + { + this.uintValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool UintValueSpecified + { + get + { + return this.uintValueFieldSpecified; + } + set + { + this.uintValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public ulong UlongValue + { + get + { + return this.ulongValueField; + } + set + { + this.ulongValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool UlongValueSpecified + { + get + { + return this.ulongValueFieldSpecified; + } + set + { + this.ulongValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public ushort UshortValue + { + get + { + return this.ushortValueField; + } + set + { + this.ushortValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool UshortValueSpecified + { + get + { + return this.ushortValueFieldSpecified; + } + set + { + this.ushortValueFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/System")] + public enum DayOfWeek + { + + /// + Sunday, + + /// + Monday, + + /// + Tuesday, + + /// + Wednesday, + + /// + Thursday, + + /// + Friday, + + /// + Saturday, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ServiceModel.ServiceContractAttribute(ConfigurationName="_edb_NS.IWcfService")] + public interface IWcfService + { + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoWithTimeout", ReplyAction="http://tempuri.org/IWcfService/EchoWithTimeoutResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.EchoWithTimeoutResponse> EchoWithTimeoutAsync(_edb_NS.EchoWithTimeoutRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/MessageRequestReply", ReplyAction="http://tempuri.org/IWcfService/MessageRequestReplyResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task MessageRequestReplyAsync(System.ServiceModel.Channels.Message request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/Echo", ReplyAction="http://tempuri.org/IWcfService/EchoResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.EchoResponse> EchoAsync(_edb_NS.EchoRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoComplex", ReplyAction="http://tempuri.org/IWcfService/EchoComplexResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.EchoComplexResponse> EchoComplexAsync(_edb_NS.EchoComplexRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFault", ReplyAction="http://tempuri.org/IWcfService/TestFaultResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(_edb_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.TestFaultResponse> TestFaultAsync(_edb_NS.TestFaultRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaultInt", ReplyAction="http://tempuri.org/IWcfService/TestFaultIntResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(int), Action="http://tempuri.org/IWcfService/TestFaultIntFault", Name="IntFault", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(_edb_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(_edb_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.TestFaultsResponse> TestFaultsAsync(_edb_NS.TestFaultsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaultWithKnownType", ReplyAction="http://tempuri.org/IWcfService/TestFaultWithKnownTypeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(_edb_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.TestFaultWithKnownTypeResponse> TestFaultWithKnownTypeAsync(_edb_NS.TestFaultWithKnownTypeRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/ThrowInvalidOperationException", ReplyAction="http://tempuri.org/IWcfService/ThrowInvalidOperationExceptionResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.ThrowInvalidOperationExceptionResponse> ThrowInvalidOperationExceptionAsync(_edb_NS.ThrowInvalidOperationExceptionRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/GetDataUsingDataContract", ReplyAction="http://tempuri.org/IWcfService/GetDataUsingDataContractResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.GetDataUsingDataContractResponse> GetDataUsingDataContractAsync(_edb_NS.GetDataUsingDataContractRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/ValidateMessagePropertyHeaders", ReplyAction="http://tempuri.org/IWcfService/ValidateMessagePropertyHeadersResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.ValidateMessagePropertyHeadersResponse> ValidateMessagePropertyHeadersAsync(_edb_NS.ValidateMessagePropertyHeadersRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/UserGetAuthToken", ReplyAction="http://tempuri.org/IWcfService/UserGetAuthTokenResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.UserGetAuthTokenResponse> UserGetAuthTokenAsync(_edb_NS.UserGetAuthTokenRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/MessageContractRequestReply", ReplyAction="http://tempuri.org/IWcfService/MessageContractRequestReplyResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.ReplyBankingData> MessageContractRequestReplyAsync(_edb_NS.RequestBankingData request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/MessageContractRequestReplyNotWrapped", ReplyAction="http://tempuri.org/IWcfService/MessageContractRequestReplyNotWrappedResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.ReplyBankingDataNotWrapped> MessageContractRequestReplyNotWrappedAsync(_edb_NS.RequestBankingData request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/MessageContractRequestReplyWithMessageHeader", ReplyAction="http://tempuri.org/IWcfService/MessageContractRequestReplyWithMessageHeaderRespon" + + "se")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.ReplyBankingDataWithMessageHeader> MessageContractRequestReplyWithMessageHeaderAsync(_edb_NS.RequestBankingData request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/MessageContractRequestReplyWithMessageHeaderNotNec" + + "essaryUnderstood", ReplyAction="http://tempuri.org/IWcfService/MessageContractRequestReplyWithMessageHeaderNotNec" + + "essaryUnderstoodResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.ReplyBankingDataWithMessageHeaderNotNecessaryUnderstood> MessageContractRequestReplyWithMessageHeaderNotNecessaryUnderstoodAsync(_edb_NS.RequestBankingData request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoHttpMessageProperty", ReplyAction="http://tempuri.org/IWcfService/EchoHttpRequestMessagePropertyResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.EchoHttpRequestMessagePropertyResponse> EchoHttpRequestMessagePropertyAsync(_edb_NS.EchoHttpRequestMessagePropertyRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/GetRestartServiceEndpoint", ReplyAction="http://tempuri.org/IWcfService/GetRestartServiceEndpointResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.GetRestartServiceEndpointResponse> GetRestartServiceEndpointAsync(_edb_NS.GetRestartServiceEndpointRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoXmlSerializerFormat", ReplyAction="http://tempuri.org/IWcfService/EchoXmlSerializerFormatResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task EchoXmlSerializerFormatAsync(string message); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoXmlSerializerFormatSupportFaults", ReplyAction="http://tempuri.org/IWcfService/EchoXmlSerializerFormatSupportFaultsResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task EchoXmlSerializerFormatSupportFaultsAsync(string message, bool pleaseThrowException); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoXmlSerializerFormatUsingRpc", ReplyAction="http://tempuri.org/IWcfService/EchoXmlSerializerFormatUsingRpcResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(Style=System.ServiceModel.OperationFormatStyle.Rpc, SupportFaults=true)] + System.Threading.Tasks.Task EchoXmlSerializerFormatUsingRpcAsync(string message); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/GetDataUsingXmlSerializer", ReplyAction="http://tempuri.org/IWcfService/GetDataUsingXmlSerializerResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.XmlCompositeType> GetDataUsingXmlSerializerAsync(_edb_NS.XmlCompositeType composite); + + [System.ServiceModel.OperationContractAttribute(Action="http://www.contoso.com/MtcRequest/loginRequest", ReplyAction="http://www.contoso.com/MtcRequest/loginResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.LoginResponse> LoginAsync(_edb_NS.LoginRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/GetIncomingMessageHeadersMessage", ReplyAction="http://tempuri.org/IWcfService/GetIncomingMessageHeadersMessageResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task GetIncomingMessageHeadersMessageAsync(string customHeaderName, string customHeaderNS); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/GetStreamFromString", ReplyAction="http://tempuri.org/IWcfService/GetStreamFromStringResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.GetStreamFromStringResponse> GetStreamFromStringAsync(_edb_NS.GetStreamFromStringRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/GetStringFromStream", ReplyAction="http://tempuri.org/IWcfService/GetStringFromStreamResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.GetStringFromStreamResponse> GetStringFromStreamAsync(_edb_NS.GetStringFromStreamRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoStream", ReplyAction="http://tempuri.org/IWcfService/EchoStreamResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task EchoStreamAsync(System.IO.Stream stream); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoMessageParameter", ReplyAction="http://tempuri.org/IWcfService/EchoMessageParameterResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.EchoMessageParameterResponse> EchoMessageParameterAsync(_edb_NS.EchoMessageParameterRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoItems", ReplyAction="http://tempuri.org/IWcfService/EchoItemsResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.EchoItemsResponse> EchoItemsAsync(_edb_NS.EchoItemsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoItemsXml", ReplyAction="http://tempuri.org/IWcfService/EchoItems_XmlResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task EchoItems_XmlAsync(object[] objects); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoItemsXml1", ReplyAction="http://tempuri.org/IWcfService/EchoItems_Xml1Response")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task EchoItems_Xml1Async(object[] objects); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/EchoXmlVeryComplexType", ReplyAction="http://tempuri.org/IWcfService/EchoXmlVeryComplexTypeResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.XmlVeryComplexType> EchoXmlVeryComplexTypeAsync(_edb_NS.XmlVeryComplexType complex); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/ReturnContentType", ReplyAction="http://tempuri.org/IWcfService/ReturnContentTypeResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.ReturnContentTypeResponse> ReturnContentTypeAsync(_edb_NS.ReturnContentTypeRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageResponseWithMess" + + "ageHeader", ReplyAction="http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageResponseWithMess" + + "ageHeaderResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.XmlMessageContractTestResponse> EchoMessageResponseWithMessageHeaderAsync(_edb_NS.XmlMessageContractTestRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageResquestWithMess" + + "ageHeader", ReplyAction="http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageResquestWithMess" + + "ageHeaderResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.XmlMessageContractTestResponse> EchoMessageResquestWithMessageHeaderAsync(_edb_NS.XmlMessageContractTestRequestWithMessageHeader request); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/IsHttpKeepAliveDisabled", ReplyAction="http://tempuri.org/IWcfService/IsHttpKeepAliveDisabledResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task IsHttpKeepAliveDisabledAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/GetRequestHttpHeaders", ReplyAction="http://tempuri.org/IWcfService/GetRequestHttpHeadersResponse")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + System.Threading.Tasks.Task<_edb_NS.GetRequestHttpHeadersResponse> GetRequestHttpHeadersAsync(_edb_NS.GetRequestHttpHeadersRequest request); + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoWithTimeout", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoWithTimeoutRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string message; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] + [System.Xml.Serialization.XmlElementAttribute(DataType="duration")] + public string serviceOperationTimeout; + + public EchoWithTimeoutRequest() + { + } + + public EchoWithTimeoutRequest(string message, string serviceOperationTimeout) + { + this.message = message; + this.serviceOperationTimeout = serviceOperationTimeout; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoWithTimeoutResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoWithTimeoutResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string EchoWithTimeoutResult; + + public EchoWithTimeoutResponse() + { + } + + public EchoWithTimeoutResponse(string EchoWithTimeoutResult) + { + this.EchoWithTimeoutResult = EchoWithTimeoutResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="Echo", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string message; + + public EchoRequest() + { + } + + public EchoRequest(string message) + { + this.message = message; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string EchoResult; + + public EchoResponse() + { + } + + public EchoResponse(string EchoResult) + { + this.EchoResult = EchoResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoComplex", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoComplexRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public _edb_NS.ComplexCompositeType message; + + public EchoComplexRequest() + { + } + + public EchoComplexRequest(_edb_NS.ComplexCompositeType message) + { + this.message = message; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoComplexResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoComplexResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public _edb_NS.ComplexCompositeType EchoComplexResult; + + public EchoComplexResponse() + { + } + + public EchoComplexResponse(_edb_NS.ComplexCompositeType EchoComplexResult) + { + this.EchoComplexResult = EchoComplexResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="TestFault", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class TestFaultRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string faultMsg; + + public TestFaultRequest() + { + } + + public TestFaultRequest(string faultMsg) + { + this.faultMsg = faultMsg; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="TestFaultResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class TestFaultResponse + { + + public TestFaultResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="TestFaults", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class TestFaultsRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string faultMsg; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] + public bool throwFaultDetail; + + public TestFaultsRequest() + { + } + + public TestFaultsRequest(string faultMsg, bool throwFaultDetail) + { + this.faultMsg = faultMsg; + this.throwFaultDetail = throwFaultDetail; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="TestFaultsResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class TestFaultsResponse + { + + public TestFaultsResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="TestFaultWithKnownType", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class TestFaultWithKnownTypeRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string faultMsg; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] + [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)] + [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays")] + public object[] objects; + + public TestFaultWithKnownTypeRequest() + { + } + + public TestFaultWithKnownTypeRequest(string faultMsg, object[] objects) + { + this.faultMsg = faultMsg; + this.objects = objects; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="TestFaultWithKnownTypeResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class TestFaultWithKnownTypeResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)] + [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays")] + public object[] TestFaultWithKnownTypeResult; + + public TestFaultWithKnownTypeResponse() + { + } + + public TestFaultWithKnownTypeResponse(object[] TestFaultWithKnownTypeResult) + { + this.TestFaultWithKnownTypeResult = TestFaultWithKnownTypeResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="ThrowInvalidOperationException", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class ThrowInvalidOperationExceptionRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string message; + + public ThrowInvalidOperationExceptionRequest() + { + } + + public ThrowInvalidOperationExceptionRequest(string message) + { + this.message = message; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="ThrowInvalidOperationExceptionResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class ThrowInvalidOperationExceptionResponse + { + + public ThrowInvalidOperationExceptionResponse() + { + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.contoso.com/wcfnamespace")] + public partial class CompositeType + { + + private bool boolValueField; + + private bool boolValueFieldSpecified; + + private string stringValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BoolValue + { + get + { + return this.boolValueField; + } + set + { + this.boolValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool BoolValueSpecified + { + get + { + return this.boolValueFieldSpecified; + } + set + { + this.boolValueFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public string StringValue + { + get + { + return this.stringValueField; + } + set + { + this.stringValueField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetDataUsingDataContract", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetDataUsingDataContractRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public _edb_NS.CompositeType composite; + + public GetDataUsingDataContractRequest() + { + } + + public GetDataUsingDataContractRequest(_edb_NS.CompositeType composite) + { + this.composite = composite; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetDataUsingDataContractResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetDataUsingDataContractResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public _edb_NS.CompositeType GetDataUsingDataContractResult; + + public GetDataUsingDataContractResponse() + { + } + + public GetDataUsingDataContractResponse(_edb_NS.CompositeType GetDataUsingDataContractResult) + { + this.GetDataUsingDataContractResult = GetDataUsingDataContractResult; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays")] + public partial class ArrayOfKeyValueOfstringstringKeyValueOfstringstring + { + + private string keyField; + + private string valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)] + public string Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public string Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="ValidateMessagePropertyHeaders", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class ValidateMessagePropertyHeadersRequest + { + + public ValidateMessagePropertyHeadersRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="ValidateMessagePropertyHeadersResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class ValidateMessagePropertyHeadersResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)] + [System.Xml.Serialization.XmlArrayItemAttribute("KeyValueOfstringstring", Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays", IsNullable=false)] + public _edb_NS.ArrayOfKeyValueOfstringstringKeyValueOfstringstring[] ValidateMessagePropertyHeadersResult; + + public ValidateMessagePropertyHeadersResponse() + { + } + + public ValidateMessagePropertyHeadersResponse(_edb_NS.ArrayOfKeyValueOfstringstringKeyValueOfstringstring[] ValidateMessagePropertyHeadersResult) + { + this.ValidateMessagePropertyHeadersResult = ValidateMessagePropertyHeadersResult; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.contoso.com/wcfnamespace")] + public partial class ResultOfstring + { + + private int errorCodeField; + + private bool errorCodeFieldSpecified; + + private HttpStatusCode httpStatusCodeField; + + private bool httpStatusCodeFieldSpecified; + + private string resultField; + + private string resultMessageField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int ErrorCode + { + get + { + return this.errorCodeField; + } + set + { + this.errorCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ErrorCodeSpecified + { + get + { + return this.errorCodeFieldSpecified; + } + set + { + this.errorCodeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public HttpStatusCode HttpStatusCode + { + get + { + return this.httpStatusCodeField; + } + set + { + this.httpStatusCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpStatusCodeSpecified + { + get + { + return this.httpStatusCodeFieldSpecified; + } + set + { + this.httpStatusCodeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public string Result + { + get + { + return this.resultField; + } + set + { + this.resultField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)] + public string ResultMessage + { + get + { + return this.resultMessageField; + } + set + { + this.resultMessageField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/System.Net")] + public enum HttpStatusCode + { + + /// + Continue, + + /// + SwitchingProtocols, + + /// + OK, + + /// + Created, + + /// + Accepted, + + /// + NonAuthoritativeInformation, + + /// + NoContent, + + /// + ResetContent, + + /// + PartialContent, + + /// + MultipleChoices, + + /// + Ambiguous, + + /// + MovedPermanently, + + /// + Moved, + + /// + Found, + + /// + Redirect, + + /// + SeeOther, + + /// + RedirectMethod, + + /// + NotModified, + + /// + UseProxy, + + /// + Unused, + + /// + TemporaryRedirect, + + /// + RedirectKeepVerb, + + /// + BadRequest, + + /// + Unauthorized, + + /// + PaymentRequired, + + /// + Forbidden, + + /// + NotFound, + + /// + MethodNotAllowed, + + /// + NotAcceptable, + + /// + ProxyAuthenticationRequired, + + /// + RequestTimeout, + + /// + Conflict, + + /// + Gone, + + /// + LengthRequired, + + /// + PreconditionFailed, + + /// + RequestEntityTooLarge, + + /// + RequestUriTooLong, + + /// + UnsupportedMediaType, + + /// + RequestedRangeNotSatisfiable, + + /// + ExpectationFailed, + + /// + UpgradeRequired, + + /// + InternalServerError, + + /// + NotImplemented, + + /// + BadGateway, + + /// + ServiceUnavailable, + + /// + GatewayTimeout, + + /// + HttpVersionNotSupported, + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="UserGetAuthToken", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class UserGetAuthTokenRequest + { + + public UserGetAuthTokenRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="UserGetAuthTokenResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class UserGetAuthTokenResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public _edb_NS.ResultOfstring UserGetAuthTokenResult; + + public UserGetAuthTokenResponse() + { + } + + public UserGetAuthTokenResponse(_edb_NS.ResultOfstring UserGetAuthTokenResult) + { + this.UserGetAuthTokenResult = UserGetAuthTokenResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ServiceModel.MessageContractAttribute(WrapperName="RequestBankingDataWrapper", WrapperNamespace="http://www.contoso.com", IsWrapped=true)] + public partial class RequestBankingData + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://tempuri.org/")] + public System.DateTime Date_of_Request; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://tempuri.org/")] + public int Transaction_Amount; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="CustomNamespace", Order=2)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="CustomNamespace", IsNullable=true)] + public string Customer_Name; + + public RequestBankingData() + { + } + + public RequestBankingData(System.DateTime Date_of_Request, int Transaction_Amount, string Customer_Name) + { + this.Date_of_Request = Date_of_Request; + this.Transaction_Amount = Transaction_Amount; + this.Customer_Name = Customer_Name; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ServiceModel.MessageContractAttribute(WrapperName="ReplyBankingDataWrapper", WrapperNamespace="http://www.contoso.com", IsWrapped=true)] + public partial class ReplyBankingData + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://tempuri.org/")] + public System.DateTime Date_of_Request; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://tempuri.org/")] + public int Transaction_Amount; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com", Order=2)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string Customer_Name; + + public ReplyBankingData() + { + } + + public ReplyBankingData(System.DateTime Date_of_Request, int Transaction_Amount, string Customer_Name) + { + this.Date_of_Request = Date_of_Request; + this.Transaction_Amount = Transaction_Amount; + this.Customer_Name = Customer_Name; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class ReplyBankingDataNotWrapped + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + public System.DateTime Date_of_Request; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] + public int Transaction_Amount; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com", Order=2)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string Customer_Name; + + public ReplyBankingDataNotWrapped() + { + } + + public ReplyBankingDataNotWrapped(System.DateTime Date_of_Request, int Transaction_Amount, string Customer_Name) + { + this.Date_of_Request = Date_of_Request; + this.Transaction_Amount = Transaction_Amount; + this.Customer_Name = Customer_Name; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ServiceModel.MessageContractAttribute(WrapperName="ReplyBankingDataWithMessageHeaderWrapper", WrapperNamespace="http://www.contoso.com", IsWrapped=true)] + public partial class ReplyBankingDataWithMessageHeader + { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://www.contoso.com")] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string ReplyBankingDataWithMessageHeaderExtraValues; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://tempuri.org/")] + public System.DateTime Date_of_Request; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://tempuri.org/")] + public int Transaction_Amount; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com", Order=2)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string Customer_Name; + + public ReplyBankingDataWithMessageHeader() + { + } + + public ReplyBankingDataWithMessageHeader(string ReplyBankingDataWithMessageHeaderExtraValues, System.DateTime Date_of_Request, int Transaction_Amount, string Customer_Name) + { + this.ReplyBankingDataWithMessageHeaderExtraValues = ReplyBankingDataWithMessageHeaderExtraValues; + this.Date_of_Request = Date_of_Request; + this.Transaction_Amount = Transaction_Amount; + this.Customer_Name = Customer_Name; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ServiceModel.MessageContractAttribute(WrapperName="ReplyBankingDataWithMessageHeaderNotNecessaryUnderstoodWrapper", WrapperNamespace="http://www.contoso.com", IsWrapped=true)] + public partial class ReplyBankingDataWithMessageHeaderNotNecessaryUnderstood + { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://www.contoso.com")] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string ReplyBankingDataWithMessageHeaderNotNecessaryUnderstoodExtraValue; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://tempuri.org/")] + public System.DateTime Date_of_Request; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://tempuri.org/")] + public int Transaction_Amount; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com", Order=2)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string Customer_Name; + + public ReplyBankingDataWithMessageHeaderNotNecessaryUnderstood() + { + } + + public ReplyBankingDataWithMessageHeaderNotNecessaryUnderstood(string ReplyBankingDataWithMessageHeaderNotNecessaryUnderstoodExtraValue, System.DateTime Date_of_Request, int Transaction_Amount, string Customer_Name) + { + this.ReplyBankingDataWithMessageHeaderNotNecessaryUnderstoodExtraValue = ReplyBankingDataWithMessageHeaderNotNecessaryUnderstoodExtraValue; + this.Date_of_Request = Date_of_Request; + this.Transaction_Amount = Transaction_Amount; + this.Customer_Name = Customer_Name; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.contoso.com/wcfnamespace")] + public partial class TestHttpRequestMessageProperty + { + + private ArrayOfKeyValueOfstringstringKeyValueOfstringstring[] headersField; + + private string methodField; + + private string queryStringField; + + private bool suppressEntityBodyField; + + private bool suppressEntityBodyFieldSpecified; + + /// + [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true, Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("KeyValueOfstringstring", Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays", IsNullable=false)] + public ArrayOfKeyValueOfstringstringKeyValueOfstringstring[] Headers + { + get + { + return this.headersField; + } + set + { + this.headersField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)] + public string Method + { + get + { + return this.methodField; + } + set + { + this.methodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)] + public string QueryString + { + get + { + return this.queryStringField; + } + set + { + this.queryStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool SuppressEntityBody + { + get + { + return this.suppressEntityBodyField; + } + set + { + this.suppressEntityBodyField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SuppressEntityBodySpecified + { + get + { + return this.suppressEntityBodyFieldSpecified; + } + set + { + this.suppressEntityBodyFieldSpecified = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoHttpRequestMessageProperty", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoHttpRequestMessagePropertyRequest + { + + public EchoHttpRequestMessagePropertyRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoHttpRequestMessagePropertyResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoHttpRequestMessagePropertyResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public _edb_NS.TestHttpRequestMessageProperty EchoHttpRequestMessagePropertyResult; + + public EchoHttpRequestMessagePropertyResponse() + { + } + + public EchoHttpRequestMessagePropertyResponse(_edb_NS.TestHttpRequestMessageProperty EchoHttpRequestMessagePropertyResult) + { + this.EchoHttpRequestMessagePropertyResult = EchoHttpRequestMessagePropertyResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetRestartServiceEndpoint", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetRestartServiceEndpointRequest + { + + public GetRestartServiceEndpointRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetRestartServiceEndpointResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetRestartServiceEndpointResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string GetRestartServiceEndpointResult; + + public GetRestartServiceEndpointResponse() + { + } + + public GetRestartServiceEndpointResponse(string GetRestartServiceEndpointResult) + { + this.GetRestartServiceEndpointResult = GetRestartServiceEndpointResult; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class XmlCompositeType + { + + private bool boolValueField; + + private string stringValueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool BoolValue + { + get + { + return this.boolValueField; + } + set + { + this.boolValueField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string StringValue + { + get + { + return this.stringValueField; + } + set + { + this.stringValueField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="login", WrapperNamespace="http://www.contoso.com/", IsWrapped=true)] + public partial class LoginRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string clientId; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com/", Order=1)] + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string user; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com/", Order=2)] + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string pwd; + + public LoginRequest() + { + } + + public LoginRequest(string clientId, string user, string pwd) + { + this.clientId = clientId; + this.user = user; + this.pwd = pwd; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="loginResponse", WrapperNamespace="http://www.contoso.com/", IsWrapped=true)] + public partial class LoginResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + public string @return; + + public LoginResponse() + { + } + + public LoginResponse(string @return) + { + this.@return = @return; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetStreamFromString", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetStreamFromStringRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string data; + + public GetStreamFromStringRequest() + { + } + + public GetStreamFromStringRequest(string data) + { + this.data = data; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetStreamFromStringResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetStreamFromStringResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + public System.IO.Stream GetStreamFromStringResult; + + public GetStreamFromStringResponse() + { + } + + public GetStreamFromStringResponse(System.IO.Stream GetStreamFromStringResult) + { + this.GetStreamFromStringResult = GetStreamFromStringResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetStringFromStream", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetStringFromStreamRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + public System.IO.Stream stream; + + public GetStringFromStreamRequest() + { + } + + public GetStringFromStreamRequest(System.IO.Stream stream) + { + this.stream = stream; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetStringFromStreamResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetStringFromStreamResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string GetStringFromStreamResult; + + public GetStringFromStreamResponse() + { + } + + public GetStringFromStreamResponse(string GetStringFromStreamResult) + { + this.GetStringFromStreamResult = GetStringFromStreamResult; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoMessageParameter", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoMessageParameterRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string name; + + public EchoMessageParameterRequest() + { + } + + public EchoMessageParameterRequest(string name) + { + this.name = name; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoMessageParameterResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoMessageParameterResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string result; + + public EchoMessageParameterResponse() + { + } + + public EchoMessageParameterResponse(string result) + { + this.result = result; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoItems", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoItemsRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)] + [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays")] + public object[] objects; + + public EchoItemsRequest() + { + } + + public EchoItemsRequest(object[] objects) + { + this.objects = objects; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="EchoItemsResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class EchoItemsResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)] + [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays")] + public object[] EchoItemsResult; + + public EchoItemsResponse() + { + } + + public EchoItemsResponse(object[] EchoItemsResult) + { + this.EchoItemsResult = EchoItemsResult; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class XmlVeryComplexType + { + + private NonInstantiatedType nonInstantiatedFieldField; + + private int idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public NonInstantiatedType NonInstantiatedField + { + get + { + return this.nonInstantiatedFieldField; + } + set + { + this.nonInstantiatedFieldField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int Id + { + get + { + return this.idField; + } + set + { + this.idField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] + public partial class NonInstantiatedType + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="ReturnContentType", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class ReturnContentTypeRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] + public string contentType; + + public ReturnContentTypeRequest() + { + } + + public ReturnContentTypeRequest(string contentType) + { + this.contentType = contentType; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="ReturnContentTypeResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class ReturnContentTypeResponse + { + + public ReturnContentTypeResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="XmlMessageContractTestRequest", WrapperNamespace="http://www.contoso.com/XmlMessageContarctTestMessages", IsWrapped=true)] + public partial class XmlMessageContractTestRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com/XmlMessageContarctTestMessages", Order=0)] + public string Message; + + public XmlMessageContractTestRequest() + { + } + + public XmlMessageContractTestRequest(string Message) + { + this.Message = Message; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="XmlMessageContractTestResponse", WrapperNamespace="http://www.contoso.com/XmlMessageContarctTestMessages", IsWrapped=true)] + public partial class XmlMessageContractTestResponse + { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://www.contoso.com")] + public string OutOfBandData; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.contoso.com/XmlMessageContarctTestMessages", Order=0)] + public string _message; + + public XmlMessageContractTestResponse() + { + } + + public XmlMessageContractTestResponse(string OutOfBandData, string _message) + { + this.OutOfBandData = OutOfBandData; + this._message = _message; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="XmlMessageContractTestRequestWithMessageHeader", WrapperNamespace="http://www.contoso.com/XmlMessageContarctTestMessages", IsWrapped=true)] + public partial class XmlMessageContractTestRequestWithMessageHeader + { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://www.contoso.com")] + public string XmlMessageContractTestRequestWithMessageHeaderMessage; + + public XmlMessageContractTestRequestWithMessageHeader() + { + } + + public XmlMessageContractTestRequestWithMessageHeader(string XmlMessageContractTestRequestWithMessageHeaderMessage) + { + this.XmlMessageContractTestRequestWithMessageHeaderMessage = XmlMessageContractTestRequestWithMessageHeaderMessage; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetRequestHttpHeaders", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetRequestHttpHeadersRequest + { + + public GetRequestHttpHeadersRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetRequestHttpHeadersResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] + public partial class GetRequestHttpHeadersResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] + [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)] + [System.Xml.Serialization.XmlArrayItemAttribute("KeyValueOfstringstring", Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays", IsNullable=false)] + public _edb_NS.ArrayOfKeyValueOfstringstringKeyValueOfstringstring[] GetRequestHttpHeadersResult; + + public GetRequestHttpHeadersResponse() + { + } + + public GetRequestHttpHeadersResponse(_edb_NS.ArrayOfKeyValueOfstringstringKeyValueOfstringstring[] GetRequestHttpHeadersResult) + { + this.GetRequestHttpHeadersResult = GetRequestHttpHeadersResult; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + public interface IWcfServiceChannel : _edb_NS.IWcfService, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] + public partial class WcfServiceClient : System.ServiceModel.ClientBase<_edb_NS.IWcfService>, _edb_NS.IWcfService + { + + /// + /// Implement this partial method to configure the service endpoint. + /// + /// The endpoint to configure + /// The client credentials + static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); + + public WcfServiceClient(EndpointConfiguration endpointConfiguration) : + base(WcfServiceClient.GetBindingForEndpoint(endpointConfiguration), WcfServiceClient.GetEndpointAddress(endpointConfiguration)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public WcfServiceClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : + base(WcfServiceClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public WcfServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : + base(WcfServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public WcfServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.EchoWithTimeoutResponse> _edb_NS.IWcfService.EchoWithTimeoutAsync(_edb_NS.EchoWithTimeoutRequest request) + { + return base.Channel.EchoWithTimeoutAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.EchoWithTimeoutResponse> EchoWithTimeoutAsync(string message, string serviceOperationTimeout) + { + _edb_NS.EchoWithTimeoutRequest inValue = new _edb_NS.EchoWithTimeoutRequest(); + inValue.message = message; + inValue.serviceOperationTimeout = serviceOperationTimeout; + return ((_edb_NS.IWcfService)(this)).EchoWithTimeoutAsync(inValue); + } + + public System.Threading.Tasks.Task MessageRequestReplyAsync(System.ServiceModel.Channels.Message request) + { + return base.Channel.MessageRequestReplyAsync(request); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.EchoResponse> _edb_NS.IWcfService.EchoAsync(_edb_NS.EchoRequest request) + { + return base.Channel.EchoAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.EchoResponse> EchoAsync(string message) + { + _edb_NS.EchoRequest inValue = new _edb_NS.EchoRequest(); + inValue.message = message; + return ((_edb_NS.IWcfService)(this)).EchoAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.EchoComplexResponse> _edb_NS.IWcfService.EchoComplexAsync(_edb_NS.EchoComplexRequest request) + { + return base.Channel.EchoComplexAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.EchoComplexResponse> EchoComplexAsync(_edb_NS.ComplexCompositeType message) + { + _edb_NS.EchoComplexRequest inValue = new _edb_NS.EchoComplexRequest(); + inValue.message = message; + return ((_edb_NS.IWcfService)(this)).EchoComplexAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.TestFaultResponse> _edb_NS.IWcfService.TestFaultAsync(_edb_NS.TestFaultRequest request) + { + return base.Channel.TestFaultAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.TestFaultResponse> TestFaultAsync(string faultMsg) + { + _edb_NS.TestFaultRequest inValue = new _edb_NS.TestFaultRequest(); + inValue.faultMsg = faultMsg; + return ((_edb_NS.IWcfService)(this)).TestFaultAsync(inValue); + } + + public System.Threading.Tasks.Task TestFaultIntAsync(int faultCode) + { + return base.Channel.TestFaultIntAsync(faultCode); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.TestFaultsResponse> _edb_NS.IWcfService.TestFaultsAsync(_edb_NS.TestFaultsRequest request) + { + return base.Channel.TestFaultsAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.TestFaultsResponse> TestFaultsAsync(string faultMsg, bool throwFaultDetail) + { + _edb_NS.TestFaultsRequest inValue = new _edb_NS.TestFaultsRequest(); + inValue.faultMsg = faultMsg; + inValue.throwFaultDetail = throwFaultDetail; + return ((_edb_NS.IWcfService)(this)).TestFaultsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.TestFaultWithKnownTypeResponse> _edb_NS.IWcfService.TestFaultWithKnownTypeAsync(_edb_NS.TestFaultWithKnownTypeRequest request) + { + return base.Channel.TestFaultWithKnownTypeAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.TestFaultWithKnownTypeResponse> TestFaultWithKnownTypeAsync(string faultMsg, object[] objects) + { + _edb_NS.TestFaultWithKnownTypeRequest inValue = new _edb_NS.TestFaultWithKnownTypeRequest(); + inValue.faultMsg = faultMsg; + inValue.objects = objects; + return ((_edb_NS.IWcfService)(this)).TestFaultWithKnownTypeAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.ThrowInvalidOperationExceptionResponse> _edb_NS.IWcfService.ThrowInvalidOperationExceptionAsync(_edb_NS.ThrowInvalidOperationExceptionRequest request) + { + return base.Channel.ThrowInvalidOperationExceptionAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.ThrowInvalidOperationExceptionResponse> ThrowInvalidOperationExceptionAsync(string message) + { + _edb_NS.ThrowInvalidOperationExceptionRequest inValue = new _edb_NS.ThrowInvalidOperationExceptionRequest(); + inValue.message = message; + return ((_edb_NS.IWcfService)(this)).ThrowInvalidOperationExceptionAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.GetDataUsingDataContractResponse> _edb_NS.IWcfService.GetDataUsingDataContractAsync(_edb_NS.GetDataUsingDataContractRequest request) + { + return base.Channel.GetDataUsingDataContractAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.GetDataUsingDataContractResponse> GetDataUsingDataContractAsync(_edb_NS.CompositeType composite) + { + _edb_NS.GetDataUsingDataContractRequest inValue = new _edb_NS.GetDataUsingDataContractRequest(); + inValue.composite = composite; + return ((_edb_NS.IWcfService)(this)).GetDataUsingDataContractAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.ValidateMessagePropertyHeadersResponse> _edb_NS.IWcfService.ValidateMessagePropertyHeadersAsync(_edb_NS.ValidateMessagePropertyHeadersRequest request) + { + return base.Channel.ValidateMessagePropertyHeadersAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.ValidateMessagePropertyHeadersResponse> ValidateMessagePropertyHeadersAsync() + { + _edb_NS.ValidateMessagePropertyHeadersRequest inValue = new _edb_NS.ValidateMessagePropertyHeadersRequest(); + return ((_edb_NS.IWcfService)(this)).ValidateMessagePropertyHeadersAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.UserGetAuthTokenResponse> _edb_NS.IWcfService.UserGetAuthTokenAsync(_edb_NS.UserGetAuthTokenRequest request) + { + return base.Channel.UserGetAuthTokenAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.UserGetAuthTokenResponse> UserGetAuthTokenAsync() + { + _edb_NS.UserGetAuthTokenRequest inValue = new _edb_NS.UserGetAuthTokenRequest(); + return ((_edb_NS.IWcfService)(this)).UserGetAuthTokenAsync(inValue); + } + + public System.Threading.Tasks.Task<_edb_NS.ReplyBankingData> MessageContractRequestReplyAsync(_edb_NS.RequestBankingData request) + { + return base.Channel.MessageContractRequestReplyAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.ReplyBankingDataNotWrapped> MessageContractRequestReplyNotWrappedAsync(_edb_NS.RequestBankingData request) + { + return base.Channel.MessageContractRequestReplyNotWrappedAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.ReplyBankingDataWithMessageHeader> MessageContractRequestReplyWithMessageHeaderAsync(_edb_NS.RequestBankingData request) + { + return base.Channel.MessageContractRequestReplyWithMessageHeaderAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.ReplyBankingDataWithMessageHeaderNotNecessaryUnderstood> MessageContractRequestReplyWithMessageHeaderNotNecessaryUnderstoodAsync(_edb_NS.RequestBankingData request) + { + return base.Channel.MessageContractRequestReplyWithMessageHeaderNotNecessaryUnderstoodAsync(request); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.EchoHttpRequestMessagePropertyResponse> _edb_NS.IWcfService.EchoHttpRequestMessagePropertyAsync(_edb_NS.EchoHttpRequestMessagePropertyRequest request) + { + return base.Channel.EchoHttpRequestMessagePropertyAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.EchoHttpRequestMessagePropertyResponse> EchoHttpRequestMessagePropertyAsync() + { + _edb_NS.EchoHttpRequestMessagePropertyRequest inValue = new _edb_NS.EchoHttpRequestMessagePropertyRequest(); + return ((_edb_NS.IWcfService)(this)).EchoHttpRequestMessagePropertyAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.GetRestartServiceEndpointResponse> _edb_NS.IWcfService.GetRestartServiceEndpointAsync(_edb_NS.GetRestartServiceEndpointRequest request) + { + return base.Channel.GetRestartServiceEndpointAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.GetRestartServiceEndpointResponse> GetRestartServiceEndpointAsync() + { + _edb_NS.GetRestartServiceEndpointRequest inValue = new _edb_NS.GetRestartServiceEndpointRequest(); + return ((_edb_NS.IWcfService)(this)).GetRestartServiceEndpointAsync(inValue); + } + + public System.Threading.Tasks.Task EchoXmlSerializerFormatAsync(string message) + { + return base.Channel.EchoXmlSerializerFormatAsync(message); + } + + public System.Threading.Tasks.Task EchoXmlSerializerFormatSupportFaultsAsync(string message, bool pleaseThrowException) + { + return base.Channel.EchoXmlSerializerFormatSupportFaultsAsync(message, pleaseThrowException); + } + + public System.Threading.Tasks.Task EchoXmlSerializerFormatUsingRpcAsync(string message) + { + return base.Channel.EchoXmlSerializerFormatUsingRpcAsync(message); + } + + public System.Threading.Tasks.Task<_edb_NS.XmlCompositeType> GetDataUsingXmlSerializerAsync(_edb_NS.XmlCompositeType composite) + { + return base.Channel.GetDataUsingXmlSerializerAsync(composite); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.LoginResponse> _edb_NS.IWcfService.LoginAsync(_edb_NS.LoginRequest request) + { + return base.Channel.LoginAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.LoginResponse> LoginAsync(string clientId, string user, string pwd) + { + _edb_NS.LoginRequest inValue = new _edb_NS.LoginRequest(); + inValue.clientId = clientId; + inValue.user = user; + inValue.pwd = pwd; + return ((_edb_NS.IWcfService)(this)).LoginAsync(inValue); + } + + public System.Threading.Tasks.Task GetIncomingMessageHeadersMessageAsync(string customHeaderName, string customHeaderNS) + { + return base.Channel.GetIncomingMessageHeadersMessageAsync(customHeaderName, customHeaderNS); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.GetStreamFromStringResponse> _edb_NS.IWcfService.GetStreamFromStringAsync(_edb_NS.GetStreamFromStringRequest request) + { + return base.Channel.GetStreamFromStringAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.GetStreamFromStringResponse> GetStreamFromStringAsync(string data) + { + _edb_NS.GetStreamFromStringRequest inValue = new _edb_NS.GetStreamFromStringRequest(); + inValue.data = data; + return ((_edb_NS.IWcfService)(this)).GetStreamFromStringAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.GetStringFromStreamResponse> _edb_NS.IWcfService.GetStringFromStreamAsync(_edb_NS.GetStringFromStreamRequest request) + { + return base.Channel.GetStringFromStreamAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.GetStringFromStreamResponse> GetStringFromStreamAsync(System.IO.Stream stream) + { + _edb_NS.GetStringFromStreamRequest inValue = new _edb_NS.GetStringFromStreamRequest(); + inValue.stream = stream; + return ((_edb_NS.IWcfService)(this)).GetStringFromStreamAsync(inValue); + } + + public System.Threading.Tasks.Task EchoStreamAsync(System.IO.Stream stream) + { + return base.Channel.EchoStreamAsync(stream); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.EchoMessageParameterResponse> _edb_NS.IWcfService.EchoMessageParameterAsync(_edb_NS.EchoMessageParameterRequest request) + { + return base.Channel.EchoMessageParameterAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.EchoMessageParameterResponse> EchoMessageParameterAsync(string name) + { + _edb_NS.EchoMessageParameterRequest inValue = new _edb_NS.EchoMessageParameterRequest(); + inValue.name = name; + return ((_edb_NS.IWcfService)(this)).EchoMessageParameterAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.EchoItemsResponse> _edb_NS.IWcfService.EchoItemsAsync(_edb_NS.EchoItemsRequest request) + { + return base.Channel.EchoItemsAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.EchoItemsResponse> EchoItemsAsync(object[] objects) + { + _edb_NS.EchoItemsRequest inValue = new _edb_NS.EchoItemsRequest(); + inValue.objects = objects; + return ((_edb_NS.IWcfService)(this)).EchoItemsAsync(inValue); + } + + public System.Threading.Tasks.Task EchoItems_XmlAsync(object[] objects) + { + return base.Channel.EchoItems_XmlAsync(objects); + } + + public System.Threading.Tasks.Task EchoItems_Xml1Async(object[] objects) + { + return base.Channel.EchoItems_Xml1Async(objects); + } + + public System.Threading.Tasks.Task<_edb_NS.XmlVeryComplexType> EchoXmlVeryComplexTypeAsync(_edb_NS.XmlVeryComplexType complex) + { + return base.Channel.EchoXmlVeryComplexTypeAsync(complex); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.ReturnContentTypeResponse> _edb_NS.IWcfService.ReturnContentTypeAsync(_edb_NS.ReturnContentTypeRequest request) + { + return base.Channel.ReturnContentTypeAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.ReturnContentTypeResponse> ReturnContentTypeAsync(string contentType) + { + _edb_NS.ReturnContentTypeRequest inValue = new _edb_NS.ReturnContentTypeRequest(); + inValue.contentType = contentType; + return ((_edb_NS.IWcfService)(this)).ReturnContentTypeAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.XmlMessageContractTestResponse> _edb_NS.IWcfService.EchoMessageResponseWithMessageHeaderAsync(_edb_NS.XmlMessageContractTestRequest request) + { + return base.Channel.EchoMessageResponseWithMessageHeaderAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.XmlMessageContractTestResponse> EchoMessageResponseWithMessageHeaderAsync(string Message) + { + _edb_NS.XmlMessageContractTestRequest inValue = new _edb_NS.XmlMessageContractTestRequest(); + inValue.Message = Message; + return ((_edb_NS.IWcfService)(this)).EchoMessageResponseWithMessageHeaderAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.XmlMessageContractTestResponse> _edb_NS.IWcfService.EchoMessageResquestWithMessageHeaderAsync(_edb_NS.XmlMessageContractTestRequestWithMessageHeader request) + { + return base.Channel.EchoMessageResquestWithMessageHeaderAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.XmlMessageContractTestResponse> EchoMessageResquestWithMessageHeaderAsync(string XmlMessageContractTestRequestWithMessageHeaderMessage) + { + _edb_NS.XmlMessageContractTestRequestWithMessageHeader inValue = new _edb_NS.XmlMessageContractTestRequestWithMessageHeader(); + inValue.XmlMessageContractTestRequestWithMessageHeaderMessage = XmlMessageContractTestRequestWithMessageHeaderMessage; + return ((_edb_NS.IWcfService)(this)).EchoMessageResquestWithMessageHeaderAsync(inValue); + } + + public System.Threading.Tasks.Task IsHttpKeepAliveDisabledAsync() + { + return base.Channel.IsHttpKeepAliveDisabledAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task<_edb_NS.GetRequestHttpHeadersResponse> _edb_NS.IWcfService.GetRequestHttpHeadersAsync(_edb_NS.GetRequestHttpHeadersRequest request) + { + return base.Channel.GetRequestHttpHeadersAsync(request); + } + + public System.Threading.Tasks.Task<_edb_NS.GetRequestHttpHeadersResponse> GetRequestHttpHeadersAsync() + { + _edb_NS.GetRequestHttpHeadersRequest inValue = new _edb_NS.GetRequestHttpHeadersRequest(); + return ((_edb_NS.IWcfService)(this)).GetRequestHttpHeadersAsync(inValue); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.Text_IWcfService)) + { + System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); + result.MaxBufferSize = int.MaxValue; + result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; + result.MaxReceivedMessageSize = int.MaxValue; + result.AllowCookies = true; + return result; + } + if ((endpointConfiguration == EndpointConfiguration.Mtom_IWcfService)) + { + System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); + result.MaxBufferSize = int.MaxValue; + result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; + result.MaxReceivedMessageSize = int.MaxValue; + result.AllowCookies = true; + return result; + } + throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); + } + + private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.Text_IWcfService)) + { + return new System.ServiceModel.EndpointAddress("http://wcfcoresrv53.westus3.cloudapp.azure.com/WcfTestService1/BasicHttp.svc/Text" + + ""); + } + if ((endpointConfiguration == EndpointConfiguration.Mtom_IWcfService)) + { + return new System.ServiceModel.EndpointAddress("http://wcfcoresrv53.westus3.cloudapp.azure.com/WcfTestService1/BasicHttp.svc/Mtom" + + ""); + } + throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); + } + + public enum EndpointConfiguration + { + + Text_IWcfService, + + Mtom_IWcfService, + } + } +} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/tfmGlobalCoreapp20.csproj b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/_edb.csproj similarity index 88% rename from src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/tfmGlobalCoreapp20.csproj rename to src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/_edb.csproj index 5a8cf333d18..346742f0a5f 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/tfmGlobalCoreapp20.csproj +++ b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/_edb.csproj @@ -3,6 +3,8 @@ Exe N.N + enable + enable diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.params.json b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/_edb.params.json similarity index 64% rename from src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.params.json rename to src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/_edb.params.json index 042a5820af3..104a5a480c3 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.params.json +++ b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/_edb.params.json @@ -1,18 +1,18 @@ { - "providerId": "TFnet5_0", + "providerId": "_edb", "version": "99.99.99", "options": { "inputs": [ - "$testCasesPath$/wsdl/Simple.wsdl" + "http://wcfcoresrv53.westus3.cloudapp.azure.com/wcftestservice1/basichttp.svc" ], - "bootstrapPath": "$resultPath$/TestBootstrap/ParamsFiles_SDK_TFM/TFnet5_0", + "bootstrapPath": "$resultPath$/TestBootstrap/ParamsFiles_SDK_TFM/_edb", "namespaceMappings": [ - "*, TFnet5_0_NS" + "*, _edb_NS" ], "noLogo": true, "noTelemetry": true, - "outputDir": "$resultPath$/TestResults/ParamsFiles_SDK_TFM/TFnet5_0", - "projectFile": "$resultPath$/TestResults/ParamsFiles_SDK_TFM/TFnet5_0/TFnet5_0.csproj", + "outputDir": "$resultPath$/TestResults/ParamsFiles_SDK_TFM/_edb", + "projectFile": "$resultPath$/TestResults/ParamsFiles_SDK_TFM/_edb/_edb.csproj", "references": [ "Newtonsoft.Json, {Newtonsoft.Json, 99.99.99}" ], diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/dotnet-svcutil.params.json b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/dotnet-svcutil.params.json similarity index 76% rename from src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/dotnet-svcutil.params.json rename to src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/dotnet-svcutil.params.json index 4abe1c0d8d8..15d994c3e3d 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/dotnet-svcutil.params.json +++ b/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/_edb/dotnet-svcutil.params.json @@ -3,10 +3,10 @@ "version": "99.99.99", "options": { "inputs": [ - "../../../../../src/dotnet-svcutil/lib/tests/TestCases/wsdl/Simple.wsdl" + "http://wcfcoresrv53.westus3.cloudapp.azure.com/wcftestservice1/basichttp.svc" ], "namespaceMappings": [ - "*, TFnet5_0_NS" + "*, _edb_NS" ], "outputFile": "Reference.cs", "references": [ diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFM/net90/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFM/net90/Reference.cs index db857eac367..9e959cee686 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFM/net90/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFM/net90/Reference.cs @@ -148,11 +148,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm100/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm100/Reference.cs index 94cfe3f8119..2cdd0f32470 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm100/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfm100/Reference.cs @@ -148,11 +148,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfmDefault/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfmDefault/Reference.cs index a9f58de8871..209d8420833 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfmDefault/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFM/tfmDefault/Reference.cs @@ -148,11 +148,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmDefault/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmDefault/Reference.cs index a9f58de8871..209d8420833 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmDefault/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmDefault/Reference.cs @@ -148,11 +148,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNet60/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNet60/Reference.cs index 1223d2a3671..45c340b4e1a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNet60/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrap/tfmNet60/Reference.cs @@ -148,11 +148,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/Reference.cs deleted file mode 100644 index a82aedb7fc5..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/Reference.cs +++ /dev/null @@ -1,195 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace tfmGlobal100_NS -{ - using System.Runtime.Serialization; - - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.Runtime.Serialization.DataContractAttribute(Name="BinLibrary", Namespace="http://schemas.datacontract.org/2004/07/BinLib")] - public partial class BinLibrary : object - { - - private string ValueField; - - [System.Runtime.Serialization.DataMemberAttribute()] - public string Value - { - get - { - return this.ValueField; - } - set - { - this.ValueField = value; - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.Runtime.Serialization.DataContractAttribute(Name="TypeReuseCompositeType", Namespace="http://schemas.datacontract.org/2004/07/TypesLib")] - public partial class TypeReuseCompositeType : object - { - - private bool BoolValueField; - - private string StringValueField; - - [System.Runtime.Serialization.DataMemberAttribute()] - public bool BoolValue - { - get - { - return this.BoolValueField; - } - set - { - this.BoolValueField = value; - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string StringValue - { - get - { - return this.StringValueField; - } - set - { - this.StringValueField = value; - } - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.ServiceModel.ServiceContractAttribute(ConfigurationName="tfmGlobal100_NS.ITypeReuseSvc")] - public interface ITypeReuseSvc - { - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITypeReuseSvc/GetData", ReplyAction="http://tempuri.org/ITypeReuseSvc/GetDataResponse")] - System.Threading.Tasks.Task GetDataAsync(int value); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITypeReuseSvc/GetDataUsingDataContract", ReplyAction="http://tempuri.org/ITypeReuseSvc/GetDataUsingDataContractResponse")] - System.Threading.Tasks.Task GetDataUsingDataContractAsync(tfmGlobal100_NS.TypeReuseCompositeType composite); - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public interface ITypeReuseSvcChannel : tfmGlobal100_NS.ITypeReuseSvc, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public partial class TypeReuseSvcClient : System.ServiceModel.ClientBase, tfmGlobal100_NS.ITypeReuseSvc - { - - /// - /// Implement this partial method to configure the service endpoint. - /// - /// The endpoint to configure - /// The client credentials - static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); - - public TypeReuseSvcClient() : - base(TypeReuseSvcClient.GetDefaultBinding(), TypeReuseSvcClient.GetDefaultEndpointAddress()) - { - this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), TypeReuseSvcClient.GetEndpointAddress(endpointConfiguration)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - public System.Threading.Tasks.Task GetDataAsync(int value) - { - return base.Channel.GetDataAsync(value); - } - - public System.Threading.Tasks.Task GetDataUsingDataContractAsync(tfmGlobal100_NS.TypeReuseCompositeType composite) - { - return base.Channel.GetDataUsingDataContractAsync(composite); - } - - public virtual System.Threading.Tasks.Task OpenAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); - } - - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) - { - System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); - result.MaxBufferSize = int.MaxValue; - result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; - result.MaxReceivedMessageSize = int.MaxValue; - result.AllowCookies = true; - return result; - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) - { - return new System.ServiceModel.EndpointAddress("http://localhost:51074/TypeReuseSvc.svc"); - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.Channels.Binding GetDefaultBinding() - { - return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); - } - - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() - { - return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); - } - - public enum EndpointConfiguration - { - - BasicHttpBinding_ITypeReuseSvc, - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json deleted file mode 100644 index 1e0f404ee5b..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "providerId": "Microsoft.Tools.ServiceModel.Svcutil-bootstrap", - "version": "99.99.99", - "options": { - "inputs": [ - "$testCasesPath$/wsdl/Simple.wsdl" - ], - "bootstrapPath": "$resultPath$/TestResults/TFMBootstrapGlobal/tfmGlobal100", - "namespaceMappings": [ - "*, tfmGlobal100_NS" - ], - "noBootstrapping": true, - "noLogo": true, - "noProjectUpdates": true, - "outputDir": "$resultPath$/TestResults/TFMBootstrapGlobal/tfmGlobal100/../tfmGlobal100", - "outputFile": "$resultPath$/TestResults/TFMBootstrapGlobal/tfmGlobal100/Reference.cs", - "projectFile": "$resultPath$/TestResults/TFMBootstrapGlobal/tfmGlobal100/tfmGlobal100.csproj", - "references": [ - "Newtonsoft.Json, {Newtonsoft.Json, *}" - ], - "targetFramework": "N.N", - "toolContext": "Bootstrapper", - "typeReuseMode": "Specified", - "verbosity": "Minimal" - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/Program.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/Program.cs deleted file mode 100644 index 188ef615cd1..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/Program.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; -namespace SvcutilBootstrap { - public class Program { - public static int Main(string[] args) { - return Microsoft.Tools.ServiceModel.Svcutil.Tool.Main(args); - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/SvcutilBootstrapper.csproj b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/SvcutilBootstrapper.csproj deleted file mode 100644 index 922c4f27102..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/SvcutilBootstrapper/SvcutilBootstrapper.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - Exe - N.N - - - - - $USERPROFILE$/.dotnet/tools/.store/dotnet-svcutil/99.99.99/dotnet-svcutil/99.99.99/tools/DOTNET_VERSION/any/dotnet-svcutil-lib.dll - - - - \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/dotnet-svcutil.params.json b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/dotnet-svcutil.params.json deleted file mode 100644 index 87056d291c6..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/dotnet-svcutil.params.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "providerId": "Microsoft.Tools.ServiceModel.Svcutil", - "version": "99.99.99", - "options": { - "inputs": [ - "../../../../../src/dotnet-svcutil/lib/tests/TestCases/wsdl/Simple.wsdl" - ], - "namespaceMappings": [ - "*, tfmGlobal100_NS" - ], - "outputFile": "Reference.cs", - "references": [ - "Newtonsoft.Json, {Newtonsoft.Json, *}" - ], - "targetFramework": "N.N", - "typeReuseMode": "Specified" - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/global.json b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/global.json deleted file mode 100644 index 7a7ec0adddb..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/global.json +++ /dev/null @@ -1 +0,0 @@ -{ "sdk": { "version": "99.99.99" } } \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/nuget.config b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/nuget.config deleted file mode 100644 index 0a62331d0a1..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/nuget.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/tfmGlobal100.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/tfmGlobal100.cs deleted file mode 100644 index 37070707aa7..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/tfmGlobal100.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace tfmGlobal100 -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/tfmGlobal100.csproj b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/tfmGlobal100.csproj deleted file mode 100644 index 5a8cf333d18..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobal100/tfmGlobal100.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - Exe - N.N - - - - - - - - - \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/Reference.cs deleted file mode 100644 index 6aff0afb0b1..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/Reference.cs +++ /dev/null @@ -1,195 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace tfmGlobalCoreapp20_NS -{ - using System.Runtime.Serialization; - - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.Runtime.Serialization.DataContractAttribute(Name="BinLibrary", Namespace="http://schemas.datacontract.org/2004/07/BinLib")] - public partial class BinLibrary : object - { - - private string ValueField; - - [System.Runtime.Serialization.DataMemberAttribute()] - public string Value - { - get - { - return this.ValueField; - } - set - { - this.ValueField = value; - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.Runtime.Serialization.DataContractAttribute(Name="TypeReuseCompositeType", Namespace="http://schemas.datacontract.org/2004/07/TypesLib")] - public partial class TypeReuseCompositeType : object - { - - private bool BoolValueField; - - private string StringValueField; - - [System.Runtime.Serialization.DataMemberAttribute()] - public bool BoolValue - { - get - { - return this.BoolValueField; - } - set - { - this.BoolValueField = value; - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string StringValue - { - get - { - return this.StringValueField; - } - set - { - this.StringValueField = value; - } - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.ServiceModel.ServiceContractAttribute(ConfigurationName="tfmGlobalCoreapp20_NS.ITypeReuseSvc")] - public interface ITypeReuseSvc - { - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITypeReuseSvc/GetData", ReplyAction="http://tempuri.org/ITypeReuseSvc/GetDataResponse")] - System.Threading.Tasks.Task GetDataAsync(int value); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITypeReuseSvc/GetDataUsingDataContract", ReplyAction="http://tempuri.org/ITypeReuseSvc/GetDataUsingDataContractResponse")] - System.Threading.Tasks.Task GetDataUsingDataContractAsync(tfmGlobalCoreapp20_NS.TypeReuseCompositeType composite); - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public interface ITypeReuseSvcChannel : tfmGlobalCoreapp20_NS.ITypeReuseSvc, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public partial class TypeReuseSvcClient : System.ServiceModel.ClientBase, tfmGlobalCoreapp20_NS.ITypeReuseSvc - { - - /// - /// Implement this partial method to configure the service endpoint. - /// - /// The endpoint to configure - /// The client credentials - static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); - - public TypeReuseSvcClient() : - base(TypeReuseSvcClient.GetDefaultBinding(), TypeReuseSvcClient.GetDefaultEndpointAddress()) - { - this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), TypeReuseSvcClient.GetEndpointAddress(endpointConfiguration)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : - base(TypeReuseSvcClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public TypeReuseSvcClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - public System.Threading.Tasks.Task GetDataAsync(int value) - { - return base.Channel.GetDataAsync(value); - } - - public System.Threading.Tasks.Task GetDataUsingDataContractAsync(tfmGlobalCoreapp20_NS.TypeReuseCompositeType composite) - { - return base.Channel.GetDataUsingDataContractAsync(composite); - } - - public virtual System.Threading.Tasks.Task OpenAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); - } - - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) - { - System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); - result.MaxBufferSize = int.MaxValue; - result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; - result.MaxReceivedMessageSize = int.MaxValue; - result.AllowCookies = true; - return result; - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) - { - return new System.ServiceModel.EndpointAddress("http://localhost:51074/TypeReuseSvc.svc"); - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.Channels.Binding GetDefaultBinding() - { - return TypeReuseSvcClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); - } - - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() - { - return TypeReuseSvcClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc); - } - - public enum EndpointConfiguration - { - - BasicHttpBinding_ITypeReuseSvc, - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json deleted file mode 100644 index 36b4bc56236..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "providerId": "Microsoft.Tools.ServiceModel.Svcutil-bootstrap", - "version": "99.99.99", - "options": { - "inputs": [ - "$testCasesPath$/wsdl/Simple.wsdl" - ], - "bootstrapPath": "$resultPath$/TestResults/TFMBootstrapGlobal/tfmGlobalCoreapp20", - "namespaceMappings": [ - "*, tfmGlobalCoreapp20_NS" - ], - "noBootstrapping": true, - "noLogo": true, - "noProjectUpdates": true, - "outputDir": "$resultPath$/TestResults/TFMBootstrapGlobal/tfmGlobalCoreapp20/../tfmGlobalCoreapp20", - "outputFile": "$resultPath$/TestResults/TFMBootstrapGlobal/tfmGlobalCoreapp20/Reference.cs", - "projectFile": "$resultPath$/TestResults/TFMBootstrapGlobal/tfmGlobalCoreapp20/tfmGlobalCoreapp20.csproj", - "references": [ - "Newtonsoft.Json, {Newtonsoft.Json, *}" - ], - "targetFramework": "N.N", - "toolContext": "Bootstrapper", - "typeReuseMode": "Specified", - "verbosity": "Minimal" - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/Program.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/Program.cs deleted file mode 100644 index 188ef615cd1..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/Program.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; -namespace SvcutilBootstrap { - public class Program { - public static int Main(string[] args) { - return Microsoft.Tools.ServiceModel.Svcutil.Tool.Main(args); - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/SvcutilBootstrapper.csproj b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/SvcutilBootstrapper.csproj deleted file mode 100644 index 922c4f27102..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/SvcutilBootstrapper/SvcutilBootstrapper.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - Exe - N.N - - - - - $USERPROFILE$/.dotnet/tools/.store/dotnet-svcutil/99.99.99/dotnet-svcutil/99.99.99/tools/DOTNET_VERSION/any/dotnet-svcutil-lib.dll - - - - \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/dotnet-svcutil.params.json b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/dotnet-svcutil.params.json deleted file mode 100644 index 6a5170acb34..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/dotnet-svcutil.params.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "providerId": "Microsoft.Tools.ServiceModel.Svcutil", - "version": "99.99.99", - "options": { - "inputs": [ - "../../../../../src/dotnet-svcutil/lib/tests/TestCases/wsdl/Simple.wsdl" - ], - "namespaceMappings": [ - "*, tfmGlobalCoreapp20_NS" - ], - "outputFile": "Reference.cs", - "references": [ - "Newtonsoft.Json, {Newtonsoft.Json, *}" - ], - "targetFramework": "N.N", - "typeReuseMode": "Specified" - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/global.json b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/global.json deleted file mode 100644 index 7a7ec0adddb..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/global.json +++ /dev/null @@ -1 +0,0 @@ -{ "sdk": { "version": "99.99.99" } } \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/nuget.config b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/nuget.config deleted file mode 100644 index 0a62331d0a1..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/nuget.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/tfmGlobalCoreapp20.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/tfmGlobalCoreapp20.cs deleted file mode 100644 index aa4a261db7a..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalCoreapp20/tfmGlobalCoreapp20.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace tfmGlobalCoreapp20 -{ - class Program - { - static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalDefault/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalDefault/Reference.cs index 91eadf5a5e0..43074a3b0be 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalDefault/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TFMBootstrapGlobal/tfmGlobalDefault/Reference.cs @@ -148,11 +148,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/Program.cs b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/Program.cs deleted file mode 100644 index 188ef615cd1..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/Program.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; -namespace SvcutilBootstrap { - public class Program { - public static int Main(string[] args) { - return Microsoft.Tools.ServiceModel.Svcutil.Tool.Main(args); - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/TypeReuse60.cs b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/TypeReuse60.cs deleted file mode 100644 index d2d3627bf81..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/TypeReuse60.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using Microsoft.Tools.ServiceModel.Svcutil; -using System.Linq; -using System.Text.RegularExpressions; - -namespace TypeReuse60 -{ - class Program - { - static int Main(string[] args) - { - var re = new Regex(@"'[^\""]*'|[^\""^\s]+|""[^\""]*"""); - string optstring = @"../TypeReuseSvc.wsdl -nl -v minimal -d $resultPath$/TestResults/TypeReuse/TypeReuse60/ServiceReference -n ""*,TypeReuse60_NS"" -bd $resultPath$/TestResults/TypeReuse/TypeReuse60"; - string[] opts = re.Matches(optstring).Cast().Select(m => m.Value).ToArray(); - return Tool.Main(opts); - } - } -} \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/global.json b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/global.json deleted file mode 100644 index 7a7ec0adddb..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/global.json +++ /dev/null @@ -1 +0,0 @@ -{ "sdk": { "version": "99.99.99" } } \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/nuget.config b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/nuget.config deleted file mode 100644 index 0a62331d0a1..00000000000 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/nuget.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/ServiceReference/Reference.cs similarity index 91% rename from src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/Reference.cs rename to src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/ServiceReference/Reference.cs index 724d1384018..3295c39e390 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/ServiceReference/Reference.cs @@ -7,12 +7,12 @@ // //------------------------------------------------------------------------------ -namespace TypeReuse60_NS +namespace TypeReuseDefault_NS { [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - [System.ServiceModel.ServiceContractAttribute(ConfigurationName="TypeReuse60_NS.ITypeReuseSvc")] + [System.ServiceModel.ServiceContractAttribute(ConfigurationName="TypeReuseDefault_NS.ITypeReuseSvc")] public interface ITypeReuseSvc { @@ -24,13 +24,13 @@ public interface ITypeReuseSvc } [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public interface ITypeReuseSvcChannel : TypeReuse60_NS.ITypeReuseSvc, System.ServiceModel.IClientChannel + public interface ITypeReuseSvcChannel : TypeReuseDefault_NS.ITypeReuseSvc, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "99.99.99")] - public partial class TypeReuseSvcClient : System.ServiceModel.ClientBase, TypeReuse60_NS.ITypeReuseSvc + public partial class TypeReuseSvcClient : System.ServiceModel.ClientBase, TypeReuseDefault_NS.ITypeReuseSvc { /// @@ -88,11 +88,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/dotnet-svcutil.params.json b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/ServiceReference/dotnet-svcutil.params.json similarity index 95% rename from src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/dotnet-svcutil.params.json rename to src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/ServiceReference/dotnet-svcutil.params.json index f391638139b..fc9e1dcaf03 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/ServiceReference/dotnet-svcutil.params.json +++ b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/ServiceReference/dotnet-svcutil.params.json @@ -6,13 +6,13 @@ "../../TypeReuseSvc.wsdl" ], "namespaceMappings": [ - "*, TypeReuse60_NS" + "*, TypeReuseDefault_NS" ], "outputFile": "Reference.cs", "references": [ - "$resultPath$//TestResults//TypeReuse//TypeReuse60//bin//Debug//net6.0//BinLib.dll", - "$resultPath$//TestResults//TypeReuse//TypeReuse60//bin//Debug//net6.0//TypesLib.dll", "dotnet-svcutil-lib, {dotnet-svcutil-lib, 99.99.99}", + "$resultPath$//TestResults//TypeReuse//TypeReuseDefault//bin//Debug//net8.0//BinLib.dll", + "$resultPath$//TestResults//TypeReuse//TypeReuseDefault//bin//Debug//net8.0//TypesLib.dll", "Microsoft.ApplicationInsights, {Microsoft.ApplicationInsights, 99.99.99}", "Microsoft.DotNet.InternalAbstractions, {Microsoft.DotNet.InternalAbstractions, 99.99.99}", "Microsoft.Extensions.DependencyModel, {Microsoft.Extensions.DependencyModel, 99.99.99}", diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json similarity index 92% rename from src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json rename to src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json index bf51bd9320e..eccd89bf2e5 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json +++ b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/SvcutilBootstrapper/Microsoft.Tools.ServiceModel.Svcutil-bootstrapper.params.json @@ -5,20 +5,20 @@ "inputs": [ "$resultPath$/TestResults/TypeReuse/TypeReuseSvc.wsdl" ], - "bootstrapPath": "$resultPath$/TestResults/TypeReuse/TypeReuse60", + "bootstrapPath": "$resultPath$/TestResults/TypeReuse/TypeReuseDefault", "namespaceMappings": [ - "*, TypeReuse60_NS" + "*, TypeReuseDefault_NS" ], "noBootstrapping": true, "noLogo": true, "noProjectUpdates": true, - "outputDir": "$resultPath$/TestResults/TypeReuse/TypeReuse60/ServiceReference", - "outputFile": "$resultPath$/TestResults/TypeReuse/TypeReuse60/ServiceReference/Reference.cs", - "projectFile": "$resultPath$/TestResults/TypeReuse/TypeReuse60/TypeReuse60.csproj", + "outputDir": "$resultPath$/TestResults/TypeReuse/TypeReuseDefault/ServiceReference", + "outputFile": "$resultPath$/TestResults/TypeReuse/TypeReuseDefault/ServiceReference/Reference.cs", + "projectFile": "$resultPath$/TestResults/TypeReuse/TypeReuseDefault/TypeReuseDefault.csproj", "references": [ - "$resultPath$//TestResults//TypeReuse//TypeReuse60//bin//Debug//net6.0//BinLib.dll", - "$resultPath$//TestResults//TypeReuse//TypeReuse60//bin//Debug//net6.0//TypesLib.dll", "dotnet-svcutil-lib, {dotnet-svcutil-lib, 99.99.99}", + "$resultPath$//TestResults//TypeReuse//TypeReuseDefault//bin//Debug//net8.0//BinLib.dll", + "$resultPath$//TestResults//TypeReuse//TypeReuseDefault//bin//Debug//net8.0//TypesLib.dll", "Microsoft.ApplicationInsights, {Microsoft.ApplicationInsights, 99.99.99}", "Microsoft.DotNet.InternalAbstractions, {Microsoft.DotNet.InternalAbstractions, 99.99.99}", "Microsoft.Extensions.DependencyModel, {Microsoft.Extensions.DependencyModel, 99.99.99}", diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/SvcutilBootstrapper.csproj b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/SvcutilBootstrapper/SvcutilBootstrapper.csproj similarity index 94% rename from src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/SvcutilBootstrapper.csproj rename to src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/SvcutilBootstrapper/SvcutilBootstrapper.csproj index ec9e15fbc00..5f36bbdcc0c 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/SvcutilBootstrapper/SvcutilBootstrapper.csproj +++ b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/SvcutilBootstrapper/SvcutilBootstrapper.csproj @@ -9,13 +9,13 @@ - $resultPath$/TestResults/TypeReuse/TypeReuse60/bin/Debug/DOTNET_VERSION/dotnet-svcutil-lib.dll + $resultPath$/TestResults/TypeReuse/TypeReuseDefault/bin/Debug/DOTNET_VERSION/dotnet-svcutil-lib.dll - $resultPath$/TestResults/TypeReuse/TypeReuse60/bin/Debug/net6.0/BinLib.dll + $resultPath$/TestResults/TypeReuse/TypeReuseDefault/bin/Debug/net8.0/BinLib.dll - $resultPath$/TestResults/TypeReuse/TypeReuse60/bin/Debug/net6.0/TypesLib.dll + $resultPath$/TestResults/TypeReuse/TypeReuseDefault/bin/Debug/net8.0/TypesLib.dll diff --git a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/TypeReuse60.csproj b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/TypeReuseDefault.csproj similarity index 92% rename from src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/TypeReuse60.csproj rename to src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/TypeReuseDefault.csproj index 7c7ea09ff23..91bdd59170b 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuse60/TypeReuse60.csproj +++ b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/TypeReuseDefault.csproj @@ -3,7 +3,8 @@ Exe N.N - latest + enable + enable diff --git a/src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/global.json b/src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/global.json similarity index 100% rename from src/dotnet-svcutil/lib/tests/Baselines/ParamsFiles_SDK_TFM/TFnet5_0/global.json rename to src/dotnet-svcutil/lib/tests/Baselines/TypeReuse/TypeReuseDefault/global.json diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReference/Connected Services/CSServiceReference/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReference/Connected Services/CSServiceReference/Reference.cs index 2b3f0777ebd..575facc567a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReference/Connected Services/CSServiceReference/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReference/Connected Services/CSServiceReference/Reference.cs @@ -148,11 +148,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReferenceRoundtrip/Connected Services/CSServiceReferenceRoundtrip/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReferenceRoundtrip/Connected Services/CSServiceReferenceRoundtrip/Reference.cs index c2a969cdaf4..e7dae54b131 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReferenceRoundtrip/Connected Services/CSServiceReferenceRoundtrip/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/UpdateServiceRefWCFCS/CSServiceReferenceRoundtrip/Connected Services/CSServiceReferenceRoundtrip/Reference.cs @@ -148,11 +148,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.BasicHttpBinding_ITypeReuseSvc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicHttpsTransSecMessCredsUserName/BasicHttpsTransSecMessCredsUserName/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicHttpsTransSecMessCredsUserName/BasicHttpsTransSecMessCredsUserName/Reference.cs index 2aa09140067..6927c4cb349 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicHttpsTransSecMessCredsUserName/BasicHttpsTransSecMessCredsUserName/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicHttpsTransSecMessCredsUserName/BasicHttpsTransSecMessCredsUserName/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BasicHttpsTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(BasicHttpsTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(BasicHttpsTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(BasicHttpsTransSecMessCredsUserName_NS.TestFaultsRequest request); @@ -2263,13 +2263,6 @@ public partial class WcfServiceClient : System.ServiceModel.ClientBaseThe client credentials static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); - public WcfServiceClient() : - base(WcfServiceClient.GetDefaultBinding(), WcfServiceClient.GetDefaultEndpointAddress()) - { - this.Endpoint.Name = EndpointConfiguration.https_message_credentials_username_IWcfService.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - public WcfServiceClient(EndpointConfiguration endpointConfiguration) : base(WcfServiceClient.GetBindingForEndpoint(endpointConfiguration), WcfServiceClient.GetEndpointAddress(endpointConfiguration)) { @@ -2654,14 +2647,19 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { - if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_IWcfService)) + if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_x002F_Buffered_IWcfService)) + { + System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); + result.MaxBufferSize = int.MaxValue; + result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; + result.MaxReceivedMessageSize = int.MaxValue; + result.AllowCookies = true; + result.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.TransportWithMessageCredential; + return result; + } + if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_x002F_Streamed_IWcfService)) { System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); result.MaxBufferSize = int.MaxValue; @@ -2676,28 +2674,25 @@ private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(Endpoi private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) { - if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_IWcfService)) + if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_x002F_Buffered_IWcfService)) + { + return new System.ServiceModel.EndpointAddress("https://wcfcoresrv53/WcfTestService1/BasicHttpsTransSecMessCredsUserName.svc/http" + + "s-message-credentials-username/Buffered"); + } + if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_x002F_Streamed_IWcfService)) { return new System.ServiceModel.EndpointAddress("https://wcfcoresrv53/WcfTestService1/BasicHttpsTransSecMessCredsUserName.svc/http" + - "s-message-credentials-username"); + "s-message-credentials-username/Streamed"); } throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); } - private static System.ServiceModel.Channels.Binding GetDefaultBinding() - { - return WcfServiceClient.GetBindingForEndpoint(EndpointConfiguration.https_message_credentials_username_IWcfService); - } - - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() - { - return WcfServiceClient.GetEndpointAddress(EndpointConfiguration.https_message_credentials_username_IWcfService); - } - public enum EndpointConfiguration { - https_message_credentials_username_IWcfService, + https_message_credentials_username_x002F_Buffered_IWcfService, + + https_message_credentials_username_x002F_Streamed_IWcfService, } } } \ No newline at end of file diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp/Reference.cs index 7b08c28a3c3..af639e0834a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BasicHttp_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(BasicHttp_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(BasicHttp_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(BasicHttp_NS.TestFaultsRequest request); @@ -2647,11 +2647,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Text_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitDualNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitDualNs/Reference.cs index 28ecae7290b..62cb898577c 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitDualNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitDualNs/Reference.cs @@ -779,11 +779,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorDocLit)) @@ -1077,11 +1072,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldDocLit)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitSingleNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitSingleNs/Reference.cs index 5958e95a852..6e708eb4d8a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitSingleNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpDocLitSingleNs/Reference.cs @@ -779,11 +779,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorDocLit)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncDualNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncDualNs/Reference.cs index 973290cda34..46fd7573c51 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncDualNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncDualNs/Reference.cs @@ -259,11 +259,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcEnc)) @@ -384,11 +379,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldRpcEnc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncSingleNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncSingleNs/Reference.cs index 1f3bc2cf891..ac7cb91883d 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncSingleNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcEncSingleNs/Reference.cs @@ -259,11 +259,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcEnc)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitDualNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitDualNs/Reference.cs index 74f81b81987..e17cfe7c2c0 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitDualNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitDualNs/Reference.cs @@ -256,11 +256,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcLit)) @@ -381,11 +376,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IHelloWorldRpcLit)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitSingleNs/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitSingleNs/Reference.cs index 5141018ecac..1a9561d0d3f 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitSingleNs/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpRpcLitSingleNs/Reference.cs @@ -256,11 +256,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_ICalculatorRpcLit)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpSoap/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpSoap/Reference.cs index de02ac9c447..37c1ff084a0 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpSoap/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttpSoap/Reference.cs @@ -213,11 +213,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IWcfSoapService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp_4_4_0/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp_4_4_0/Reference.cs index a1c8bf5055b..f487135f0e2 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp_4_4_0/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttp_4_4_0/Reference.cs @@ -256,11 +256,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Basic_IWcfService_4_4_0)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttps/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttps/Reference.cs index 6eae4d9d175..aacf25a6f52 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttps/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeBasicSvcs/BasicHttps/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BasicHttps_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(BasicHttps_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(BasicHttps_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(BasicHttps_NS.TestFaultsRequest request); @@ -2647,11 +2647,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Text_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttp/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttp/Reference.cs index 9bd20ae5fc1..59303f71608 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttp/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttp/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(NetHttp_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(NetHttp_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(NetHttp_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(NetHttp_NS.TestFaultsRequest request); @@ -2647,11 +2647,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Binary_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpWebSockets/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpWebSockets/Reference.cs index 93bd62321b0..a330f427565 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpWebSockets/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpWebSockets/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(NetHttpWebSockets_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(NetHttpWebSockets_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(NetHttpWebSockets_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(NetHttpWebSockets_NS.TestFaultsRequest request); @@ -2654,11 +2654,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpWebSockets_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttps/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttps/Reference.cs index 7c03122c5f0..86e29cb3597 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttps/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttps/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(NetHttps_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(NetHttps_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(NetHttps_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(NetHttps_NS.TestFaultsRequest request); @@ -2647,11 +2647,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Binary_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpsWebSockets/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpsWebSockets/Reference.cs index b2af64b4996..8aa3493be70 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpsWebSockets/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNetHttpSvcs/NetHttpsWebSockets/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(NetHttpsWebSockets_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(NetHttpsWebSockets_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(NetHttpsWebSockets_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(NetHttpsWebSockets_NS.TestFaultsRequest request); @@ -2654,11 +2654,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpsWebSockets_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNettcpTransSecMessCredsUserName/TcpTransSecMessCredsUserName/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNettcpTransSecMessCredsUserName/TcpTransSecMessCredsUserName/Reference.cs index 83ba0194365..d0955d67e3c 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNettcpTransSecMessCredsUserName/TcpTransSecMessCredsUserName/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeNettcpTransSecMessCredsUserName/TcpTransSecMessCredsUserName/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(TcpTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(TcpTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(TcpTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(TcpTransSecMessCredsUserName_NS.TestFaultsRequest request); @@ -2654,11 +2654,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.Tcp_message_credentials_username_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeReliableSessionSvc/ReliableSessionService/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeReliableSessionSvc/ReliableSessionService/Reference.cs index aa5a95616f6..6aa2107b5f7 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeReliableSessionSvc/ReliableSessionService/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WcfRuntimeReliableSessionSvc/ReliableSessionService/Reference.cs @@ -81,11 +81,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.NetHttpOrdered_WSReliableMessaging11_IWcfReliableService)) diff --git a/src/dotnet-svcutil/lib/tests/Baselines/WsHttpBindingAndws2007HttpBindingTransSecMessCredsUserName/HttpsTransSecMessCredsUserName/Reference.cs b/src/dotnet-svcutil/lib/tests/Baselines/WsHttpBindingAndws2007HttpBindingTransSecMessCredsUserName/HttpsTransSecMessCredsUserName/Reference.cs index 23fa1a7d402..f6926cfe49a 100644 --- a/src/dotnet-svcutil/lib/tests/Baselines/WsHttpBindingAndws2007HttpBindingTransSecMessCredsUserName/HttpsTransSecMessCredsUserName/Reference.cs +++ b/src/dotnet-svcutil/lib/tests/Baselines/WsHttpBindingAndws2007HttpBindingTransSecMessCredsUserName/HttpsTransSecMessCredsUserName/Reference.cs @@ -616,8 +616,8 @@ public interface IWcfService System.Threading.Tasks.Task TestFaultIntAsync(int faultCode); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWcfService/TestFaults", ReplyAction="http://tempuri.org/IWcfService/TestFaultsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(HttpsTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.FaultContractAttribute(typeof(HttpsTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name="FaultDetail", Namespace="http://www.contoso.com/wcfnamespace")] + [System.ServiceModel.FaultContractAttribute(typeof(HttpsTransSecMessCredsUserName_NS.FaultDetail), Action="http://tempuri.org/IWcfService/TestFaultFaultDetailFault2", Name="FaultDetail2", Namespace="http://www.contoso.com/wcfnamespace")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] System.Threading.Tasks.Task TestFaultsAsync(HttpsTransSecMessCredsUserName_NS.TestFaultsRequest request); @@ -2647,11 +2647,6 @@ public virtual System.Threading.Tasks.Task OpenAsync() return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); } - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) { if ((endpointConfiguration == EndpointConfiguration.https_message_credentials_username_IWcfService)) diff --git a/src/dotnet-svcutil/lib/tests/src/E2ETests.cs b/src/dotnet-svcutil/lib/tests/src/E2ETests.cs index 49bbd41a148..092602f2fbb 100644 --- a/src/dotnet-svcutil/lib/tests/src/E2ETests.cs +++ b/src/dotnet-svcutil/lib/tests/src/E2ETests.cs @@ -76,12 +76,9 @@ public void Help(string verbosity) [Trait("Category", "Test")] [Theory] [InlineData("tfmDefault", null)] - [InlineData("tfmNetCoreapp31", "netcoreapp3.1")] - [InlineData("tfmNet50", "net5.0")] [InlineData("tfmNet60", "net6.0")] [InlineData("tfmNetstd20", "netstandard2.0")] [InlineData("tfmNetstd21", "netstandard2.1")] - [InlineData("tfm100", "netcoreapp100.0")] public void TFMBootstrap(string testCaseName, string targetFramework) { this_TestCaseName = "TFMBootstrap"; @@ -204,12 +201,12 @@ public void NamespaceParam(string testCaseName, string options, bool expectSucce [Trait("Category", "BVT")] [Theory] - [InlineData("TypeReuse60", "net6.0")] - public void TypeReuse(string testCaseName, string targetFramework) + [InlineData("TypeReuseDefault")] + public void TypeReuse(string testCaseName) { this_TestCaseName = "TypeReuse"; TestFixture(); - InitializeE2E(testCaseName, createUniqueProject: true, targetFramework: targetFramework, sdkVersion: g_SdkVersion); + InitializeE2E(testCaseName, createUniqueProject: true); var uri = SetupProjectDependencies(); var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference"); @@ -229,7 +226,6 @@ private string SetupProjectDependencies() var typeReuseProjectsPath = Path.Combine(g_TestCasesDir, "TypeReuse"); FileUtil.CopyDirectory(typeReuseProjectsPath, this_TestGroupOutputDir); - CreateGlobalJson(this_TestGroupOutputDir, this_TestCaseProject.SdkVersion); MSBuildProj binProj = MSBuildProj.FromPathAsync(binProjPath, null, CancellationToken.None).Result; ProcessRunner.ProcessResult result = binProj.BuildAsync(true, null, CancellationToken.None).Result; diff --git a/src/dotnet-svcutil/lib/tests/src/GlobalToolTests.cs b/src/dotnet-svcutil/lib/tests/src/GlobalToolTests.cs index ccbef773011..aea434f0f56 100644 --- a/src/dotnet-svcutil/lib/tests/src/GlobalToolTests.cs +++ b/src/dotnet-svcutil/lib/tests/src/GlobalToolTests.cs @@ -60,9 +60,7 @@ public void ToolContextGlobal(string testCaseName, string param) [Theory] [Trait("Category", "Test")] [InlineData("tfmGlobalDefault", null)] - [InlineData("tfmGlobalCoreapp20", "netcoreapp2.0")] [InlineData("tfmGlobalNetstd20", "netstandard2.0")] - [InlineData("tfmGlobal100", "netcoreapp100.0")] public void TFMBootstrapGlobal(string testCaseName, string targetFramework) { this_TestCaseName = "TFMBootstrapGlobal"; @@ -107,24 +105,24 @@ public void FullFramework(string testCaseName) [Trait("Category", "BVT")] [Theory] - [InlineData("net6.0", "-elm")] - public void ParamsFiles_SDK_TFM(string targetFramework, string extraOptions) + [InlineData("-edb")] + public void ParamsFiles_SDK_TFM( string extraOptions) { this_TestCaseName = "ParamsFiles_SDK_TFM"; TestFixture(); - var testCaseName = $"TF{targetFramework}".Replace(".", "_"); - InitializeGlobal(testCaseName, targetFramework: "net6.0", g_SdkVersion); - this_TestCaseProject.TargetFramework = targetFramework; + var testCaseName = $"{extraOptions}".Replace("-", "_"); + InitializeGlobal(testCaseName); + this_TestCaseProject.SaveAsync(this_TestCaseLogger, System.Threading.CancellationToken.None).Wait(); - var url = $"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}"; + var url = $"{g_ServiceUrl}/basichttp.svc"; var ns = testCaseName.Replace(".", "_") + "_NS"; // generate params file from options var paramsFilePath = Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.params.json"); var options = new Microsoft.Tools.ServiceModel.Svcutil.SvcutilOptions(); options.Inputs.Add(new Uri(url)); - options.References.Add(Microsoft.Tools.ServiceModel.Svcutil.ProjectDependency.FromPackage("Newtonsoft.Json", "13.0.1")); + options.References.Add(Microsoft.Tools.ServiceModel.Svcutil.ProjectDependency.FromPackage("Newtonsoft.Json", "13.0.2")); options.OutputDir = new DirectoryInfo(this_TestCaseOutputDir); options.BootstrapPath = new DirectoryInfo(this_TestCaseBootstrapDir); options.NamespaceMappings.Add(new System.Collections.Generic.KeyValuePair("*", ns)); diff --git a/src/dotnet-svcutil/lib/tests/src/TestInit.cs b/src/dotnet-svcutil/lib/tests/src/TestInit.cs index 85e23e775bb..bb4670bdbf7 100644 --- a/src/dotnet-svcutil/lib/tests/src/TestInit.cs +++ b/src/dotnet-svcutil/lib/tests/src/TestInit.cs @@ -131,7 +131,7 @@ public ClassFixture() var vsTestsRoot = GetSTestRootDir(); - g_SdkVersion = "5.0.100"; + g_SdkVersion = "7.0.201"; ProcessRunner.ProcessResult procResult = ProcessRunner.TryRunAsync("dotnet", "--version", Directory.GetCurrentDirectory(), null, new CancellationToken()).ConfigureAwait(false).GetAwaiter().GetResult(); if (procResult.ExitCode == 0)