From f72834623447a6f246612031ce0bd2590f576105 Mon Sep 17 00:00:00 2001 From: Matt Connew Date: Tue, 10 Dec 2024 22:21:20 -0800 Subject: [PATCH] Fix System.Web.Services.Description missing NetFx type forwards Improved PackageVerifier to handle more scenarios and have better reporting --- System.ServiceModel.sln | 6 + eng/GenRefAssembly.targets | 2 +- .../tools/PackageChecker/Program.cs | 14 +- ...System.Web.Services.Description.Ref.csproj | 13 + .../ref/System.Web.Services.Description.cs | 803 ++++++++++++++++++ .../src/NetFxTypeForwards.cs | 75 ++ .../System.Web.Services.Description.csproj | 14 +- 7 files changed, 917 insertions(+), 10 deletions(-) create mode 100644 src/System.Web.Services.Description/ref/System.Web.Services.Description.Ref.csproj create mode 100644 src/System.Web.Services.Description/ref/System.Web.Services.Description.cs create mode 100644 src/System.Web.Services.Description/src/NetFxTypeForwards.cs diff --git a/System.ServiceModel.sln b/System.ServiceModel.sln index e2e1279cf74..161e8472379 100644 --- a/System.ServiceModel.sln +++ b/System.ServiceModel.sln @@ -109,6 +109,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.ServiceModel.Shim", EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.ServiceModel.NetFramingBase.Ref", "src\System.ServiceModel.NetFramingBase\ref\System.ServiceModel.NetFramingBase.Ref.csproj", "{09D0456B-C1C6-40E4-AE8E-64D60189A7B2}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Web.Services.Description.Ref", "src\System.Web.Services.Description\ref\System.Web.Services.Description.Ref.csproj", "{0CF0FD4F-387F-4AF1-8509-80053EBA94CC}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -307,6 +309,10 @@ Global {09D0456B-C1C6-40E4-AE8E-64D60189A7B2}.Debug|Any CPU.Build.0 = Debug|Any CPU {09D0456B-C1C6-40E4-AE8E-64D60189A7B2}.Release|Any CPU.ActiveCfg = Release|Any CPU {09D0456B-C1C6-40E4-AE8E-64D60189A7B2}.Release|Any CPU.Build.0 = Release|Any CPU + {0CF0FD4F-387F-4AF1-8509-80053EBA94CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0CF0FD4F-387F-4AF1-8509-80053EBA94CC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0CF0FD4F-387F-4AF1-8509-80053EBA94CC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0CF0FD4F-387F-4AF1-8509-80053EBA94CC}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/eng/GenRefAssembly.targets b/eng/GenRefAssembly.targets index 00fb122c8ca..df7464fcd4e 100644 --- a/eng/GenRefAssembly.targets +++ b/eng/GenRefAssembly.targets @@ -30,7 +30,7 @@ - + diff --git a/src/System.Private.ServiceModel/tools/PackageChecker/Program.cs b/src/System.Private.ServiceModel/tools/PackageChecker/Program.cs index 73c7330c8c7..6be1527cb90 100644 --- a/src/System.Private.ServiceModel/tools/PackageChecker/Program.cs +++ b/src/System.Private.ServiceModel/tools/PackageChecker/Program.cs @@ -6,7 +6,7 @@ internal class Program { /// /// This app validates a NuGet package is formed correctly. Currently it only validates that all types in the - /// netstandard2.0 reference assembly are type forwarded for .NET Framework + /// netstandard2.0 reference assembly are type forwarded for .NET Framework. /// /// The NuGet package to validate /// Turns on verbose output @@ -34,15 +34,21 @@ private static int Main(FileInfo package, bool verbose) var netFxLibEntries = zipArchive.Entries.Where(e => e.FullName.StartsWith("lib/net4")); if (!netFxLibEntries.Any()) { - Console.Error.WriteLine("Expected assemblies in a lib/net4?? folder, none found"); + Console.Error.WriteLine("No assemblies found in a lib/net4?? folder. No type forwards to check."); + Console.Error.WriteLine("If netfx isn't intended to be supported, this is expected."); return 1; } var netstandardRefEntries = zipArchive.Entries.Where(e => e.FullName.StartsWith("ref/netstandard2.0/")); if (!netstandardRefEntries.Any()) { - Console.Error.WriteLine("Expected assemblies in the ref/netstandard2.0 folder, none found"); - return 1; + Console.Error.WriteLine("No assemblies in the ref/netstandard2.0 folder, checking lib/netstandard2.0"); + netstandardRefEntries = zipArchive.Entries.Where(e => e.FullName.StartsWith("lib/netstandard2.0/")); + if (!netstandardRefEntries.Any()) + { + Console.Error.WriteLine("No assemblies in the lib/netstandard2.0 folder"); + return 1; + } } var runtimeFolder = @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"; diff --git a/src/System.Web.Services.Description/ref/System.Web.Services.Description.Ref.csproj b/src/System.Web.Services.Description/ref/System.Web.Services.Description.Ref.csproj new file mode 100644 index 00000000000..415237fb28a --- /dev/null +++ b/src/System.Web.Services.Description/ref/System.Web.Services.Description.Ref.csproj @@ -0,0 +1,13 @@ + + + $(WcfAssemblyVersion) + Microsoft + netstandard2.0 + System.Web.Services.Description + System.ServiceModel + true + $(Ship_WcfPackages) + false + + + \ No newline at end of file diff --git a/src/System.Web.Services.Description/ref/System.Web.Services.Description.cs b/src/System.Web.Services.Description/ref/System.Web.Services.Description.cs new file mode 100644 index 00000000000..6fdb4cc4d64 --- /dev/null +++ b/src/System.Web.Services.Description/ref/System.Web.Services.Description.cs @@ -0,0 +1,803 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// GenAPI Version: 10.0.11.6215 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ +namespace System.Web.Services +{ + [System.FlagsAttribute] + public enum WsiProfiles + { + None = 0, + BasicProfile1_1 = 1, + } +} +namespace System.Web.Services.Configuration +{ + [System.AttributeUsageAttribute(System.AttributeTargets.Class)] + public sealed partial class XmlFormatExtensionAttribute : System.Attribute + { + public XmlFormatExtensionAttribute() { } + public XmlFormatExtensionAttribute(string elementName, string ns, System.Type extensionPoint1) { } + public XmlFormatExtensionAttribute(string elementName, string ns, System.Type extensionPoint1, System.Type extensionPoint2) { } + public XmlFormatExtensionAttribute(string elementName, string ns, System.Type extensionPoint1, System.Type extensionPoint2, System.Type extensionPoint3) { } + public XmlFormatExtensionAttribute(string elementName, string ns, System.Type extensionPoint1, System.Type extensionPoint2, System.Type extensionPoint3, System.Type extensionPoint4) { } + public XmlFormatExtensionAttribute(string elementName, string ns, System.Type[] extensionPoints) { } + public string ElementName { get { throw null; } set { } } + public System.Type[] ExtensionPoints { get { throw null; } set { } } + public string Namespace { get { throw null; } set { } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Class)] + public sealed partial class XmlFormatExtensionPointAttribute : System.Attribute + { + public XmlFormatExtensionPointAttribute(string memberName) { } + public bool AllowElements { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + public string MemberName { get { throw null; } set { } } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true)] + public sealed partial class XmlFormatExtensionPrefixAttribute : System.Attribute + { + public XmlFormatExtensionPrefixAttribute() { } + public XmlFormatExtensionPrefixAttribute(string prefix, string ns) { } + public string Namespace { get { throw null; } set { } } + public string Prefix { get { throw null; } set { } } + } +} +namespace System.Web.Services.Description +{ + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class Binding : System.Web.Services.Description.NamedItem + { + public Binding() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("operation")] + public System.Web.Services.Description.OperationBindingCollection Operations { get { throw null; } } + public System.Web.Services.Description.ServiceDescription ServiceDescription { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + [System.Xml.Serialization.XmlAttributeAttribute("type")] + public System.Xml.XmlQualifiedName Type { get { throw null; } set { } } + } + public sealed partial class BindingCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal BindingCollection() { } + public System.Web.Services.Description.Binding this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.Binding this[string name] { get { throw null; } } + public int Add(System.Web.Services.Description.Binding binding) { throw null; } + public bool Contains(System.Web.Services.Description.Binding binding) { throw null; } + public void CopyTo(System.Web.Services.Description.Binding[] array, int index) { } + protected override string GetKey(object value) { throw null; } + public int IndexOf(System.Web.Services.Description.Binding binding) { throw null; } + public void Insert(int index, System.Web.Services.Description.Binding binding) { } + public void Remove(System.Web.Services.Description.Binding binding) { } + protected override void SetParent(object value, object parent) { } + } + public abstract partial class DocumentableItem + { + protected DocumentableItem() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public string Documentation { get { throw null; } set { } } + [System.Xml.Serialization.XmlAnyElementAttribute("documentation", Namespace="http://schemas.xmlsoap.org/wsdl/")] + public System.Xml.XmlElement DocumentationElement { get { throw null; } set { } } + [System.Xml.Serialization.XmlAnyAttributeAttribute] + public System.Xml.XmlAttribute[] ExtensibleAttributes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public abstract System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get; } + [System.Xml.Serialization.XmlNamespaceDeclarationsAttribute] + public System.Xml.Serialization.XmlSerializerNamespaces Namespaces { get { throw null; } set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class FaultBinding : System.Web.Services.Description.MessageBinding + { + public FaultBinding() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + } + public sealed partial class FaultBindingCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal FaultBindingCollection() { } + public System.Web.Services.Description.FaultBinding this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.FaultBinding this[string name] { get { throw null; } } + public int Add(System.Web.Services.Description.FaultBinding bindingOperationFault) { throw null; } + public bool Contains(System.Web.Services.Description.FaultBinding bindingOperationFault) { throw null; } + public void CopyTo(System.Web.Services.Description.FaultBinding[] array, int index) { } + protected override string GetKey(object value) { throw null; } + public int IndexOf(System.Web.Services.Description.FaultBinding bindingOperationFault) { throw null; } + public void Insert(int index, System.Web.Services.Description.FaultBinding bindingOperationFault) { } + public void Remove(System.Web.Services.Description.FaultBinding bindingOperationFault) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("address", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.Port))] + public sealed partial class HttpAddressBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public HttpAddressBinding() { } + [System.Xml.Serialization.XmlAttributeAttribute("location")] + public string Location { get { throw null; } set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("binding", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.Binding))] + [System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute("http", "http://schemas.xmlsoap.org/wsdl/http/")] + public sealed partial class HttpBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public const string Namespace = "http://schemas.xmlsoap.org/wsdl/http/"; + public HttpBinding() { } + [System.Xml.Serialization.XmlAttributeAttribute("verb")] + public string Verb { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("operation", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.OperationBinding))] + public sealed partial class HttpOperationBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public HttpOperationBinding() { } + [System.Xml.Serialization.XmlAttributeAttribute("location")] + public string Location { get { throw null; } set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("urlEncoded", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.InputBinding))] + public sealed partial class HttpUrlEncodedBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public HttpUrlEncodedBinding() { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("urlReplacement", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.InputBinding))] + public sealed partial class HttpUrlReplacementBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public HttpUrlReplacementBinding() { } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class Import : System.Web.Services.Description.DocumentableItem + { + public Import() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlAttributeAttribute("location")] + public string Location { get { throw null; } set { } } + [System.Xml.Serialization.XmlAttributeAttribute("namespace")] + public string Namespace { get { throw null; } set { } } + public System.Web.Services.Description.ServiceDescription ServiceDescription { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + } + public sealed partial class ImportCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal ImportCollection() { } + public System.Web.Services.Description.Import this[int index] { get { throw null; } set { } } + public int Add(System.Web.Services.Description.Import import) { throw null; } + public bool Contains(System.Web.Services.Description.Import import) { throw null; } + public void CopyTo(System.Web.Services.Description.Import[] array, int index) { } + public int IndexOf(System.Web.Services.Description.Import import) { throw null; } + public void Insert(int index, System.Web.Services.Description.Import import) { } + public void Remove(System.Web.Services.Description.Import import) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class InputBinding : System.Web.Services.Description.MessageBinding + { + public InputBinding() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class Message : System.Web.Services.Description.NamedItem + { + public Message() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("part")] + public System.Web.Services.Description.MessagePartCollection Parts { get { throw null; } } + public System.Web.Services.Description.ServiceDescription ServiceDescription { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + public System.Web.Services.Description.MessagePart FindPartByName(string partName) { throw null; } + public System.Web.Services.Description.MessagePart[] FindPartsByName(string[] partNames) { throw null; } + } + public abstract partial class MessageBinding : System.Web.Services.Description.NamedItem + { + protected MessageBinding() { } + public System.Web.Services.Description.OperationBinding OperationBinding { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + } + public sealed partial class MessageCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal MessageCollection() { } + public System.Web.Services.Description.Message this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.Message this[string name] { get { throw null; } } + public int Add(System.Web.Services.Description.Message message) { throw null; } + public bool Contains(System.Web.Services.Description.Message message) { throw null; } + public void CopyTo(System.Web.Services.Description.Message[] array, int index) { } + protected override string GetKey(object value) { throw null; } + public int IndexOf(System.Web.Services.Description.Message message) { throw null; } + public void Insert(int index, System.Web.Services.Description.Message message) { } + public void Remove(System.Web.Services.Description.Message message) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class MessagePart : System.Web.Services.Description.NamedItem + { + public MessagePart() { } + [System.Xml.Serialization.XmlAttributeAttribute("element")] + public System.Xml.XmlQualifiedName Element { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + public System.Web.Services.Description.Message Message { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + [System.Xml.Serialization.XmlAttributeAttribute("type")] + public System.Xml.XmlQualifiedName Type { get { throw null; } set { } } + } + public sealed partial class MessagePartCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal MessagePartCollection() { } + public System.Web.Services.Description.MessagePart this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.MessagePart this[string name] { get { throw null; } } + public int Add(System.Web.Services.Description.MessagePart messagePart) { throw null; } + public bool Contains(System.Web.Services.Description.MessagePart messagePart) { throw null; } + public void CopyTo(System.Web.Services.Description.MessagePart[] array, int index) { } + protected override string GetKey(object value) { throw null; } + public int IndexOf(System.Web.Services.Description.MessagePart messagePart) { throw null; } + public void Insert(int index, System.Web.Services.Description.MessagePart messagePart) { } + public void Remove(System.Web.Services.Description.MessagePart messagePart) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("content", "http://schemas.xmlsoap.org/wsdl/mime/", typeof(System.Web.Services.Description.MimePart), typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding))] + [System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute("mime", "http://schemas.xmlsoap.org/wsdl/mime/")] + public sealed partial class MimeContentBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public const string Namespace = "http://schemas.xmlsoap.org/wsdl/mime/"; + public MimeContentBinding() { } + [System.Xml.Serialization.XmlAttributeAttribute("part")] + public string Part { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlAttributeAttribute("type")] + public string Type { get { throw null; } set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("multipartRelated", "http://schemas.xmlsoap.org/wsdl/mime/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding))] + public sealed partial class MimeMultipartRelatedBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public MimeMultipartRelatedBinding() { } + [System.Xml.Serialization.XmlElementAttribute("part")] + public System.Web.Services.Description.MimePartCollection Parts { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class MimePart : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public MimePart() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + } + public sealed partial class MimePartCollection : System.Collections.CollectionBase + { + public MimePartCollection() { } + public System.Web.Services.Description.MimePart this[int index] { get { throw null; } set { } } + public int Add(System.Web.Services.Description.MimePart mimePart) { throw null; } + public bool Contains(System.Web.Services.Description.MimePart mimePart) { throw null; } + public void CopyTo(System.Web.Services.Description.MimePart[] array, int index) { } + public int IndexOf(System.Web.Services.Description.MimePart mimePart) { throw null; } + public void Insert(int index, System.Web.Services.Description.MimePart mimePart) { } + public void Remove(System.Web.Services.Description.MimePart mimePart) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("text", "http://microsoft.com/wsdl/mime/textMatching/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding), typeof(System.Web.Services.Description.MimePart))] + [System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute("tm", "http://microsoft.com/wsdl/mime/textMatching/")] + public sealed partial class MimeTextBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public const string Namespace = "http://microsoft.com/wsdl/mime/textMatching/"; + public MimeTextBinding() { } + [System.Xml.Serialization.XmlElementAttribute("match", typeof(System.Web.Services.Description.MimeTextMatch))] + public System.Web.Services.Description.MimeTextMatchCollection Matches { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + } + public sealed partial class MimeTextMatch + { + public MimeTextMatch() { } + [System.ComponentModel.DefaultValueAttribute(0)] + [System.Xml.Serialization.XmlAttributeAttribute("capture")] + public int Capture { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(1)] + [System.Xml.Serialization.XmlAttributeAttribute("group")] + public int Group { get { throw null; } set { } } + [System.Xml.Serialization.XmlAttributeAttribute("ignoreCase")] + public bool IgnoreCase { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlElementAttribute("match")] + public System.Web.Services.Description.MimeTextMatchCollection Matches { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + [System.Xml.Serialization.XmlAttributeAttribute("name")] + public string Name { get { throw null; } set { } } + [System.Xml.Serialization.XmlAttributeAttribute("pattern")] + public string Pattern { get { throw null; } set { } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public int Repeats { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute("1")] + [System.Xml.Serialization.XmlAttributeAttribute("repeats")] + public string RepeatsString { get { throw null; } set { } } + [System.Xml.Serialization.XmlAttributeAttribute("type")] + public string Type { get { throw null; } set { } } + } + public sealed partial class MimeTextMatchCollection : System.Collections.CollectionBase + { + public MimeTextMatchCollection() { } + public System.Web.Services.Description.MimeTextMatch this[int index] { get { throw null; } set { } } + public int Add(System.Web.Services.Description.MimeTextMatch match) { throw null; } + public bool Contains(System.Web.Services.Description.MimeTextMatch match) { throw null; } + public void CopyTo(System.Web.Services.Description.MimeTextMatch[] array, int index) { } + public int IndexOf(System.Web.Services.Description.MimeTextMatch match) { throw null; } + public void Insert(int index, System.Web.Services.Description.MimeTextMatch match) { } + public void Remove(System.Web.Services.Description.MimeTextMatch match) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("mimeXml", "http://schemas.xmlsoap.org/wsdl/mime/", typeof(System.Web.Services.Description.MimePart), typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding))] + public sealed partial class MimeXmlBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public MimeXmlBinding() { } + [System.Xml.Serialization.XmlAttributeAttribute("part")] + public string Part { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + public abstract partial class NamedItem : System.Web.Services.Description.DocumentableItem + { + protected NamedItem() { } + [System.Xml.Serialization.XmlAttributeAttribute("name")] + public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class Operation : System.Web.Services.Description.NamedItem + { + public Operation() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("fault")] + public System.Web.Services.Description.OperationFaultCollection Faults { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("input", typeof(System.Web.Services.Description.OperationInput))] + [System.Xml.Serialization.XmlElementAttribute("output", typeof(System.Web.Services.Description.OperationOutput))] + public System.Web.Services.Description.OperationMessageCollection Messages { get { throw null; } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public string[] ParameterOrder { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.ComponentModel.DefaultValueAttribute("")] + [System.Xml.Serialization.XmlAttributeAttribute("parameterOrder")] + public string ParameterOrderString { get { throw null; } set { } } + public System.Web.Services.Description.PortType PortType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + public bool IsBoundBy(System.Web.Services.Description.OperationBinding operationBinding) { throw null; } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class OperationBinding : System.Web.Services.Description.NamedItem + { + public OperationBinding() { } + public System.Web.Services.Description.Binding Binding { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("fault")] + public System.Web.Services.Description.FaultBindingCollection Faults { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("input")] + public System.Web.Services.Description.InputBinding Input { get { throw null; } set { } } + [System.Xml.Serialization.XmlElementAttribute("output")] + public System.Web.Services.Description.OutputBinding Output { get { throw null; } set { } } + } + public sealed partial class OperationBindingCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal OperationBindingCollection() { } + public System.Web.Services.Description.OperationBinding this[int index] { get { throw null; } set { } } + public int Add(System.Web.Services.Description.OperationBinding bindingOperation) { throw null; } + public bool Contains(System.Web.Services.Description.OperationBinding bindingOperation) { throw null; } + public void CopyTo(System.Web.Services.Description.OperationBinding[] array, int index) { } + public int IndexOf(System.Web.Services.Description.OperationBinding bindingOperation) { throw null; } + public void Insert(int index, System.Web.Services.Description.OperationBinding bindingOperation) { } + public void Remove(System.Web.Services.Description.OperationBinding bindingOperation) { } + protected override void SetParent(object value, object parent) { } + } + public sealed partial class OperationCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal OperationCollection() { } + public System.Web.Services.Description.Operation this[int index] { get { throw null; } set { } } + public int Add(System.Web.Services.Description.Operation operation) { throw null; } + public bool Contains(System.Web.Services.Description.Operation operation) { throw null; } + public void CopyTo(System.Web.Services.Description.Operation[] array, int index) { } + public int IndexOf(System.Web.Services.Description.Operation operation) { throw null; } + public void Insert(int index, System.Web.Services.Description.Operation operation) { } + public void Remove(System.Web.Services.Description.Operation operation) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class OperationFault : System.Web.Services.Description.OperationMessage + { + public OperationFault() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + } + public sealed partial class OperationFaultCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal OperationFaultCollection() { } + public System.Web.Services.Description.OperationFault this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.OperationFault this[string name] { get { throw null; } } + public int Add(System.Web.Services.Description.OperationFault operationFaultMessage) { throw null; } + public bool Contains(System.Web.Services.Description.OperationFault operationFaultMessage) { throw null; } + public void CopyTo(System.Web.Services.Description.OperationFault[] array, int index) { } + protected override string GetKey(object value) { throw null; } + public int IndexOf(System.Web.Services.Description.OperationFault operationFaultMessage) { throw null; } + public void Insert(int index, System.Web.Services.Description.OperationFault operationFaultMessage) { } + public void Remove(System.Web.Services.Description.OperationFault operationFaultMessage) { } + protected override void SetParent(object value, object parent) { } + } + public enum OperationFlow + { + None = 0, + OneWay = 1, + Notification = 2, + RequestResponse = 3, + SolicitResponse = 4, + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class OperationInput : System.Web.Services.Description.OperationMessage + { + public OperationInput() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + } + public abstract partial class OperationMessage : System.Web.Services.Description.NamedItem + { + protected OperationMessage() { } + [System.Xml.Serialization.XmlAttributeAttribute("message")] + public System.Xml.XmlQualifiedName Message { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + public System.Web.Services.Description.Operation Operation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + } + public sealed partial class OperationMessageCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal OperationMessageCollection() { } + public System.Web.Services.Description.OperationFlow Flow { get { throw null; } } + public System.Web.Services.Description.OperationInput Input { get { throw null; } } + public System.Web.Services.Description.OperationMessage this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.OperationOutput Output { get { throw null; } } + public int Add(System.Web.Services.Description.OperationMessage operationMessage) { throw null; } + public bool Contains(System.Web.Services.Description.OperationMessage operationMessage) { throw null; } + public void CopyTo(System.Web.Services.Description.OperationMessage[] array, int index) { } + public int IndexOf(System.Web.Services.Description.OperationMessage operationMessage) { throw null; } + public void Insert(int index, System.Web.Services.Description.OperationMessage operationMessage) { } + protected override void OnInsert(int index, object value) { } + protected override void OnSet(int index, object oldValue, object newValue) { } + protected override void OnValidate(object value) { } + public void Remove(System.Web.Services.Description.OperationMessage operationMessage) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class OperationOutput : System.Web.Services.Description.OperationMessage + { + public OperationOutput() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class OutputBinding : System.Web.Services.Description.MessageBinding + { + public OutputBinding() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class Port : System.Web.Services.Description.NamedItem + { + public Port() { } + [System.Xml.Serialization.XmlAttributeAttribute("binding")] + public System.Xml.XmlQualifiedName Binding { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + public System.Web.Services.Description.Service Service { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + } + public sealed partial class PortCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal PortCollection() { } + public System.Web.Services.Description.Port this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.Port this[string name] { get { throw null; } } + public int Add(System.Web.Services.Description.Port port) { throw null; } + public bool Contains(System.Web.Services.Description.Port port) { throw null; } + public void CopyTo(System.Web.Services.Description.Port[] array, int index) { } + protected override string GetKey(object value) { throw null; } + public int IndexOf(System.Web.Services.Description.Port port) { throw null; } + public void Insert(int index, System.Web.Services.Description.Port port) { } + public void Remove(System.Web.Services.Description.Port port) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class PortType : System.Web.Services.Description.NamedItem + { + public PortType() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("operation")] + public System.Web.Services.Description.OperationCollection Operations { get { throw null; } } + public System.Web.Services.Description.ServiceDescription ServiceDescription { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + } + public sealed partial class PortTypeCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal PortTypeCollection() { } + public System.Web.Services.Description.PortType this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.PortType this[string name] { get { throw null; } } + public int Add(System.Web.Services.Description.PortType portType) { throw null; } + public bool Contains(System.Web.Services.Description.PortType portType) { throw null; } + public void CopyTo(System.Web.Services.Description.PortType[] array, int index) { } + protected override string GetKey(object value) { throw null; } + public int IndexOf(System.Web.Services.Description.PortType portType) { throw null; } + public void Insert(int index, System.Web.Services.Description.PortType portType) { } + public void Remove(System.Web.Services.Description.PortType portType) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class Service : System.Web.Services.Description.NamedItem + { + public Service() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("port")] + public System.Web.Services.Description.PortCollection Ports { get { throw null; } } + public System.Web.Services.Description.ServiceDescription ServiceDescription { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + } + public sealed partial class ServiceCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + internal ServiceCollection() { } + public System.Web.Services.Description.Service this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.Service this[string name] { get { throw null; } } + public int Add(System.Web.Services.Description.Service service) { throw null; } + public bool Contains(System.Web.Services.Description.Service service) { throw null; } + public void CopyTo(System.Web.Services.Description.Service[] array, int index) { } + protected override string GetKey(object value) { throw null; } + public int IndexOf(System.Web.Services.Description.Service service) { throw null; } + public void Insert(int index, System.Web.Services.Description.Service service) { } + public void Remove(System.Web.Services.Description.Service service) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + [System.Xml.Serialization.XmlRootAttribute("definitions", Namespace="http://schemas.xmlsoap.org/wsdl/")] + public sealed partial class ServiceDescription : System.Web.Services.Description.NamedItem + { + public const string Namespace = "http://schemas.xmlsoap.org/wsdl/"; + public ServiceDescription() { } + [System.Xml.Serialization.XmlElementAttribute("binding")] + public System.Web.Services.Description.BindingCollection Bindings { get { throw null; } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("import")] + public System.Web.Services.Description.ImportCollection Imports { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("message")] + public System.Web.Services.Description.MessageCollection Messages { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("portType")] + public System.Web.Services.Description.PortTypeCollection PortTypes { get { throw null; } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public string RetrievalUrl { get { throw null; } set { } } + public static System.Xml.Schema.XmlSchema Schema { get { throw null; } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public static System.Xml.Serialization.XmlSerializer Serializer { get { throw null; } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public System.Web.Services.Description.ServiceDescriptionCollection ServiceDescriptions { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("service")] + public System.Web.Services.Description.ServiceCollection Services { get { throw null; } } + [System.Xml.Serialization.XmlAttributeAttribute("targetNamespace")] + public string TargetNamespace { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlElementAttribute("types")] + public System.Web.Services.Description.Types Types { get { throw null; } set { } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public System.Collections.Specialized.StringCollection ValidationWarnings { get { throw null; } } + public static bool CanRead(System.Xml.XmlReader reader) { throw null; } + public static System.Web.Services.Description.ServiceDescription Read(System.IO.Stream stream) { throw null; } + public static System.Web.Services.Description.ServiceDescription Read(System.IO.Stream stream, bool validate) { throw null; } + public static System.Web.Services.Description.ServiceDescription Read(System.IO.TextReader textReader) { throw null; } + public static System.Web.Services.Description.ServiceDescription Read(System.IO.TextReader textReader, bool validate) { throw null; } + public static System.Web.Services.Description.ServiceDescription Read(string fileName) { throw null; } + public static System.Web.Services.Description.ServiceDescription Read(string fileName, bool validate) { throw null; } + public static System.Web.Services.Description.ServiceDescription Read(System.Xml.XmlReader reader) { throw null; } + public static System.Web.Services.Description.ServiceDescription Read(System.Xml.XmlReader reader, bool validate) { throw null; } + public void Write(System.IO.Stream stream) { } + public void Write(System.IO.TextWriter writer) { } + public void Write(string fileName) { } + public void Write(System.Xml.XmlWriter writer) { } + } + public abstract partial class ServiceDescriptionBaseCollection : System.Collections.CollectionBase + { + internal ServiceDescriptionBaseCollection() { } + protected virtual System.Collections.IDictionary Table { get { throw null; } } + protected virtual string GetKey(object value) { throw null; } + protected override void OnClear() { } + protected override void OnInsertComplete(int index, object value) { } + protected override void OnRemove(int index, object value) { } + protected override void OnSet(int index, object oldValue, object newValue) { } + protected virtual void SetParent(object value, object parent) { } + } + public sealed partial class ServiceDescriptionCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + public ServiceDescriptionCollection() { } + public System.Web.Services.Description.ServiceDescription this[int index] { get { throw null; } set { } } + public System.Web.Services.Description.ServiceDescription this[string ns] { get { throw null; } } + public int Add(System.Web.Services.Description.ServiceDescription serviceDescription) { throw null; } + public bool Contains(System.Web.Services.Description.ServiceDescription serviceDescription) { throw null; } + public void CopyTo(System.Web.Services.Description.ServiceDescription[] array, int index) { } + public System.Web.Services.Description.Binding GetBinding(System.Xml.XmlQualifiedName name) { throw null; } + protected override string GetKey(object value) { throw null; } + public System.Web.Services.Description.Message GetMessage(System.Xml.XmlQualifiedName name) { throw null; } + public System.Web.Services.Description.PortType GetPortType(System.Xml.XmlQualifiedName name) { throw null; } + public System.Web.Services.Description.Service GetService(System.Xml.XmlQualifiedName name) { throw null; } + public int IndexOf(System.Web.Services.Description.ServiceDescription serviceDescription) { throw null; } + public void Insert(int index, System.Web.Services.Description.ServiceDescription serviceDescription) { } + protected override void OnInsertComplete(int index, object value) { } + public void Remove(System.Web.Services.Description.ServiceDescription serviceDescription) { } + protected override void SetParent(object value, object parent) { } + } + public abstract partial class ServiceDescriptionFormatExtension + { + protected ServiceDescriptionFormatExtension() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public bool Handled { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + public object Parent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + [System.ComponentModel.DefaultValueAttribute(false)] + [System.Xml.Serialization.XmlAttributeAttribute("required", Namespace="http://schemas.xmlsoap.org/wsdl/")] + public bool Required { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + public sealed partial class ServiceDescriptionFormatExtensionCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection + { + public ServiceDescriptionFormatExtensionCollection(object parent) { } + public object this[int index] { get { throw null; } set { } } + public int Add(object extension) { throw null; } + public bool Contains(object extension) { throw null; } + public void CopyTo(object[] array, int index) { } + public System.Xml.XmlElement Find(string name, string ns) { throw null; } + public object Find(System.Type type) { throw null; } + public System.Xml.XmlElement[] FindAll(string name, string ns) { throw null; } + public object[] FindAll(System.Type type) { throw null; } + public int IndexOf(object extension) { throw null; } + public void Insert(int index, object extension) { } + public bool IsHandled(object item) { throw null; } + public bool IsRequired(object item) { throw null; } + protected override void OnValidate(object value) { } + public void Remove(object extension) { } + protected override void SetParent(object value, object parent) { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("address", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.Port))] + public sealed partial class Soap12AddressBinding : System.Web.Services.Description.SoapAddressBinding + { + public Soap12AddressBinding() { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("binding", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.Binding))] + [System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute("soap12", "http://schemas.xmlsoap.org/wsdl/soap12/")] + public sealed partial class Soap12Binding : System.Web.Services.Description.SoapBinding + { + public new const string HttpTransport = "http://schemas.xmlsoap.org/soap/http"; + public new const string Namespace = "http://schemas.xmlsoap.org/wsdl/soap12/"; + public Soap12Binding() { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("body", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding), typeof(System.Web.Services.Description.MimePart))] + public sealed partial class Soap12BodyBinding : System.Web.Services.Description.SoapBodyBinding + { + public Soap12BodyBinding() { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("fault", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.FaultBinding))] + public sealed partial class Soap12FaultBinding : System.Web.Services.Description.SoapFaultBinding + { + public Soap12FaultBinding() { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("header", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding))] + public sealed partial class Soap12HeaderBinding : System.Web.Services.Description.SoapHeaderBinding + { + public Soap12HeaderBinding() { } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("operation", "http://schemas.xmlsoap.org/wsdl/soap12/", typeof(System.Web.Services.Description.OperationBinding))] + public sealed partial class Soap12OperationBinding : System.Web.Services.Description.SoapOperationBinding + { + public Soap12OperationBinding() { } + [System.ComponentModel.DefaultValueAttribute(false)] + [System.Xml.Serialization.XmlAttributeAttribute("soapActionRequired")] + public bool SoapActionRequired { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("address", "http://schemas.xmlsoap.org/wsdl/soap/", typeof(System.Web.Services.Description.Port))] + public partial class SoapAddressBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public SoapAddressBinding() { } + [System.Xml.Serialization.XmlAttributeAttribute("location")] + public string Location { get { throw null; } set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("binding", "http://schemas.xmlsoap.org/wsdl/soap/", typeof(System.Web.Services.Description.Binding))] + [System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute("soap", "http://schemas.xmlsoap.org/wsdl/soap/")] + [System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute("soapenc", "http://schemas.xmlsoap.org/soap/encoding/")] + public partial class SoapBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public const string HttpTransport = "http://schemas.xmlsoap.org/soap/http"; + public const string Namespace = "http://schemas.xmlsoap.org/wsdl/soap/"; + public SoapBinding() { } + public static System.Xml.Schema.XmlSchema Schema { get { throw null; } } + [System.ComponentModel.DefaultValueAttribute(System.Web.Services.Description.SoapBindingStyle.Document)] + [System.Xml.Serialization.XmlAttributeAttribute("style")] + public System.Web.Services.Description.SoapBindingStyle Style { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlAttributeAttribute("transport")] + public string Transport { get { throw null; } set { } } + } + public enum SoapBindingStyle + { + [System.Xml.Serialization.XmlIgnoreAttribute] + Default = 0, + [System.Xml.Serialization.XmlEnumAttribute("document")] + Document = 1, + [System.Xml.Serialization.XmlEnumAttribute("rpc")] + Rpc = 2, + } + public enum SoapBindingUse + { + [System.Xml.Serialization.XmlIgnoreAttribute] + Default = 0, + [System.Xml.Serialization.XmlEnumAttribute("encoded")] + Encoded = 1, + [System.Xml.Serialization.XmlEnumAttribute("literal")] + Literal = 2, + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("body", "http://schemas.xmlsoap.org/wsdl/soap/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding), typeof(System.Web.Services.Description.MimePart))] + public partial class SoapBodyBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public SoapBodyBinding() { } + [System.ComponentModel.DefaultValueAttribute("")] + [System.Xml.Serialization.XmlAttributeAttribute("encodingStyle")] + public string Encoding { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute("")] + [System.Xml.Serialization.XmlAttributeAttribute("namespace")] + public string Namespace { get { throw null; } set { } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public string[] Parts { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlAttributeAttribute("parts")] + public string PartsString { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(System.Web.Services.Description.SoapBindingUse.Default)] + [System.Xml.Serialization.XmlAttributeAttribute("use")] + public System.Web.Services.Description.SoapBindingUse Use { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("fault", "http://schemas.xmlsoap.org/wsdl/soap/", typeof(System.Web.Services.Description.FaultBinding))] + public partial class SoapFaultBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public SoapFaultBinding() { } + [System.ComponentModel.DefaultValueAttribute("")] + [System.Xml.Serialization.XmlAttributeAttribute("encodingStyle")] + public string Encoding { get { throw null; } set { } } + [System.Xml.Serialization.XmlAttributeAttribute("name")] + public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlAttributeAttribute("namespace")] + public string Namespace { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(System.Web.Services.Description.SoapBindingUse.Default)] + [System.Xml.Serialization.XmlAttributeAttribute("use")] + public System.Web.Services.Description.SoapBindingUse Use { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("header", "http://schemas.xmlsoap.org/wsdl/soap/", typeof(System.Web.Services.Description.InputBinding), typeof(System.Web.Services.Description.OutputBinding))] + public partial class SoapHeaderBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public SoapHeaderBinding() { } + [System.ComponentModel.DefaultValueAttribute("")] + [System.Xml.Serialization.XmlAttributeAttribute("encodingStyle")] + public string Encoding { get { throw null; } set { } } + [System.Xml.Serialization.XmlElementAttribute("headerfault")] + public System.Web.Services.Description.SoapHeaderFaultBinding Fault { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlIgnoreAttribute] + public bool MapToProperty { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.Xml.Serialization.XmlAttributeAttribute("message")] + public System.Xml.XmlQualifiedName Message { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.ComponentModel.DefaultValueAttribute("")] + [System.Xml.Serialization.XmlAttributeAttribute("namespace")] + public string Namespace { get { throw null; } set { } } + [System.Xml.Serialization.XmlAttributeAttribute("part")] + public string Part { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.ComponentModel.DefaultValueAttribute(System.Web.Services.Description.SoapBindingUse.Default)] + [System.Xml.Serialization.XmlAttributeAttribute("use")] + public System.Web.Services.Description.SoapBindingUse Use { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + public partial class SoapHeaderFaultBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public SoapHeaderFaultBinding() { } + [System.ComponentModel.DefaultValueAttribute("")] + [System.Xml.Serialization.XmlAttributeAttribute("encodingStyle")] + public string Encoding { get { throw null; } set { } } + [System.Xml.Serialization.XmlAttributeAttribute("message")] + public System.Xml.XmlQualifiedName Message { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.ComponentModel.DefaultValueAttribute("")] + [System.Xml.Serialization.XmlAttributeAttribute("namespace")] + public string Namespace { get { throw null; } set { } } + [System.Xml.Serialization.XmlAttributeAttribute("part")] + public string Part { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + [System.ComponentModel.DefaultValueAttribute(System.Web.Services.Description.SoapBindingUse.Default)] + [System.Xml.Serialization.XmlAttributeAttribute("use")] + public System.Web.Services.Description.SoapBindingUse Use { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionAttribute("operation", "http://schemas.xmlsoap.org/wsdl/soap/", typeof(System.Web.Services.Description.OperationBinding))] + public partial class SoapOperationBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension + { + public SoapOperationBinding() { } + [System.Xml.Serialization.XmlAttributeAttribute("soapAction")] + public string SoapAction { get { throw null; } set { } } + [System.ComponentModel.DefaultValueAttribute(System.Web.Services.Description.SoapBindingStyle.Default)] + [System.Xml.Serialization.XmlAttributeAttribute("style")] + public System.Web.Services.Description.SoapBindingStyle Style { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + } + [System.Web.Services.Configuration.XmlFormatExtensionPointAttribute("Extensions")] + public sealed partial class Types : System.Web.Services.Description.DocumentableItem + { + public Types() { } + [System.Xml.Serialization.XmlIgnoreAttribute] + public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get { throw null; } } + [System.Xml.Serialization.XmlElementAttribute("schema", typeof(System.Xml.Schema.XmlSchema), Namespace="http://www.w3.org/2001/XMLSchema")] + public System.Xml.Serialization.XmlSchemas Schemas { get { throw null; } } + } +} diff --git a/src/System.Web.Services.Description/src/NetFxTypeForwards.cs b/src/System.Web.Services.Description/src/NetFxTypeForwards.cs new file mode 100644 index 00000000000..c3790bc48a1 --- /dev/null +++ b/src/System.Web.Services.Description/src/NetFxTypeForwards.cs @@ -0,0 +1,75 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Runtime.CompilerServices; + +[assembly: TypeForwardedTo(typeof(System.Web.Services.WsiProfiles))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.HttpAddressBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.HttpBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.HttpOperationBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.HttpUrlEncodedBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.HttpUrlReplacementBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MimeContentBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MimePart))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MimeMultipartRelatedBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MimeXmlBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MimePartCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MimeTextBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MimeTextMatch))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MimeTextMatchCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.ServiceDescription))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Import))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.DocumentableItem))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.NamedItem))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Port))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Service))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.FaultBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MessageBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.InputBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OutputBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Binding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationMessage))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationFault))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationInput))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationOutput))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Operation))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.PortType))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Message))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MessagePart))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Types))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.ServiceDescriptionFormatExtension))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationFlow))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationMessageCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.ImportCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MessageCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.PortCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.PortTypeCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.BindingCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.ServiceCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.MessagePartCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationBindingCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.FaultBindingCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.OperationFaultCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.ServiceDescriptionBaseCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.ServiceDescriptionCollection))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Soap12Binding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Soap12OperationBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Soap12BodyBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Soap12FaultBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Soap12HeaderBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.Soap12AddressBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapBindingStyle))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapOperationBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapBodyBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapBindingUse))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapFaultBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapHeaderBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapHeaderFaultBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Description.SoapAddressBinding))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Configuration.XmlFormatExtensionAttribute))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Configuration.XmlFormatExtensionPointAttribute))] +[assembly: TypeForwardedTo(typeof(System.Web.Services.Configuration.XmlFormatExtensionPrefixAttribute))] diff --git a/src/System.Web.Services.Description/src/System.Web.Services.Description.csproj b/src/System.Web.Services.Description/src/System.Web.Services.Description.csproj index 06a39d7a41e..0928d252e6d 100644 --- a/src/System.Web.Services.Description/src/System.Web.Services.Description.csproj +++ b/src/System.Web.Services.Description/src/System.Web.Services.Description.csproj @@ -1,24 +1,28 @@ - $(WcfAssemblyVersion) Microsoft System.Web.Services.Description true true - $(Ship_WcfPackages) netstandard2.0;$(NetFrameworkVersion) - true + $(Ship_WcfPackages) false + $(NetFrameworkVersion) - + - + + + + + + true FxResources.$(AssemblyName).SR