Просмотр исходного кода

* SoapProtocolImporter.cs: Added stub for missing IsSoapEncodingPresent
method
* MimeContentBinding.cs: removed extra Default attribute from Part

svn path=/trunk/mcs/; revision=29325

Gert Driesen 21 лет назад
Родитель
Сommit
52e284c5cf

+ 6 - 0
mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog

@@ -1,3 +1,9 @@
+2004-06-11  Gert Driesen <[email protected]>
+
+	* SoapProtocolImporter.cs: Added stub for missing IsSoapEncodingPresent
+	method
+	* MimeContentBinding.cs: removed extra Default attribute from Part
+
 2004-06-10  Lluis Sanchez Gual  <[email protected]>
 
 	* HttpSimpleProtocolImporter.cs: Add needed XmlInclude attributes to the

+ 53 - 54
mcs/class/System.Web.Services/System.Web.Services.Description/MimeContentBinding.cs

@@ -1,54 +1,53 @@
-// 
-// System.Web.Services.Description.MimeContentBinding.cs
-//
-// Author:
-//   Tim Coleman ([email protected])
-//
-// Copyright (C) Tim Coleman, 2002
-//
-
-using System.ComponentModel;
-using System.Web.Services.Configuration;
-using System.Xml.Serialization;
-
-namespace System.Web.Services.Description {
-	[XmlFormatExtensionPrefix ("mime", "http://schemas.xmlsoap.org/wsdl/mime/")]
-	[XmlFormatExtension ("content", "http://schemas.xmlsoap.org/wsdl/mime/", typeof (InputBinding), typeof (OutputBinding))]
-	public sealed class MimeContentBinding : ServiceDescriptionFormatExtension {
-
-		#region Fields
-
-		public const string Namespace = "http://schemas.xmlsoap.org/wsdl/mime/";
-		string part;
-		string type;
-
-		#endregion // Fields
-
-		#region Constructors
-		
-		public MimeContentBinding ()
-		{
-			part = String.Empty;
-			type = String.Empty;
-		}
-		
-		#endregion // Constructors
-
-		#region Properties
-
-		[DefaultValue ("")]
-		[XmlAttribute ("part", DataType = "NMTOKEN")]	
-		public string Part {
-			get { return part; }
-			set { part = value; }
-		}
-
-		[XmlAttribute ("type")]
-		public string Type {
-			get { return type; }
-			set { type = value; }
-		}
-
-		#endregion // Properties
-	}
-}
+// 
+// System.Web.Services.Description.MimeContentBinding.cs
+//
+// Author:
+//   Tim Coleman ([email protected])
+//
+// Copyright (C) Tim Coleman, 2002
+//
+
+using System.ComponentModel;
+using System.Web.Services.Configuration;
+using System.Xml.Serialization;
+
+namespace System.Web.Services.Description {
+	[XmlFormatExtensionPrefix ("mime", "http://schemas.xmlsoap.org/wsdl/mime/")]
+	[XmlFormatExtension ("content", "http://schemas.xmlsoap.org/wsdl/mime/", typeof (InputBinding), typeof (OutputBinding))]
+	public sealed class MimeContentBinding : ServiceDescriptionFormatExtension {
+
+		#region Fields
+
+		public const string Namespace = "http://schemas.xmlsoap.org/wsdl/mime/";
+		string part;
+		string type;
+
+		#endregion // Fields
+
+		#region Constructors
+		
+		public MimeContentBinding ()
+		{
+			part = String.Empty;
+			type = String.Empty;
+		}
+		
+		#endregion // Constructors
+
+		#region Properties
+
+		[XmlAttribute ("part", DataType = "NMTOKEN")]
+		public string Part {
+			get { return part; }
+			set { part = value; }
+		}
+
+		[XmlAttribute ("type")]
+		public string Type {
+			get { return type; }
+			set { type = value; }
+		}
+
+		#endregion // Properties
+	}
+}

+ 6 - 0
mcs/class/System.Web.Services/System.Web.Services.Description/SoapProtocolImporter.cs

@@ -150,6 +150,12 @@ namespace System.Web.Services.Description {
 			throw new NotImplementedException ();
 		}
 
+		[MonoTODO]
+		protected virtual bool IsSoapEncodingPresent (string uriList)
+		{
+			throw new NotImplementedException ();
+		}
+
 		protected override CodeMemberMethod GenerateMethod ()
 		{
 			try