Author: kostat
Date: 2007-01-25 04:59:09 -0500 (Thu, 25 Jan 2007)
New Revision: 71659
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionReflector.cs
Log:
describe only supported bindings and never HttpPostLocalhost
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2007-01-25 09:57:57 UTC (rev 71658)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2007-01-25 09:59:09 UTC (rev 71659)
@@ -1,3 +1,8 @@
+2007-01-25 Konstantin Triger <[EMAIL PROTECTED]>
+
+ * ServiceDescriptionReflector.cs: describe only supported bindings and
+ never HttpPostLocalhost.
+
2007-01-19 Atsushi Enomoto <[EMAIL PROTECTED]>
* ServiceDescriptionImporter.cs : initialize CodeGenerator with C#.
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionReflector.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionReflector.cs
2007-01-25 09:57:57 UTC (rev 71658)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionReflector.cs
2007-01-25 09:59:09 UTC (rev 71659)
@@ -83,15 +83,17 @@
{
XmlSchemaExporter schemaExporter = new
XmlSchemaExporter (Schemas);
SoapSchemaExporter soapSchemaExporter = new
SoapSchemaExporter (Schemas);
-
- new Soap11ProtocolReflector ().Reflect (this, type,
url, schemaExporter, soapSchemaExporter);
+
+ if (WSConfig.IsSupported (WSProtocol.HttpSoap))
+ new Soap11ProtocolReflector ().Reflect (this,
type, url, schemaExporter, soapSchemaExporter);
#if NET_2_0
- new Soap12ProtocolReflector ().Reflect (this, type,
url, schemaExporter, soapSchemaExporter);
+ if (WSConfig.IsSupported (WSProtocol.HttpSoap12))
+ new Soap12ProtocolReflector ().Reflect (this,
type, url, schemaExporter, soapSchemaExporter);
#endif
if (WSConfig.IsSupported (WSProtocol.HttpGet))
new HttpGetProtocolReflector ().Reflect (this,
type, url, schemaExporter, soapSchemaExporter);
-#if NET_1_1
+#if ONLY_1_1
if (WSConfig.IsSupported (WSProtocol.HttpPost) ||
WSConfig.IsSupported (WSProtocol.HttpPostLocalhost))
#else
if (WSConfig.IsSupported (WSProtocol.HttpPost))
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches