浏览代码

2006-12-19 Atsushi Enomoto <[email protected]>

	* SoapClientMessage.cs : oops, SoapVersion is only 2.0.


svn path=/branches/atsushi/mcs/; revision=69711
Atsushi Eno 19 年之前
父节点
当前提交
dcd309ea27

+ 4 - 0
mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog

@@ -1,3 +1,7 @@
+2006-12-19  Atsushi Enomoto  <[email protected]>
+
+	* SoapClientMessage.cs : oops, SoapVersion is only 2.0.
+
 2006-12-19  Atsushi Enomoto  <[email protected]>
 
 	* SoapHttpClientProtocol.cs :

+ 2 - 0
mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapClientMessage.cs

@@ -59,8 +59,10 @@ namespace System.Web.Services.Protocols {
 			this.client = client;
 			this.url = url;
 			Parameters = parameters;
+#if NET_2_0
 			if (SoapVersion == SoapProtocolVersion.Soap12)
 				ContentType = "application/soap+xml";
+#endif
 		}
 
 		#endregion