Author: kostat
Date: 2007-02-06 09:58:57 -0500 (Tue, 06 Feb 2007)
New Revision: 72354
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolReflector.cs
Log:
Ensure the schemas are available for validation
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2007-02-06 13:12:16 UTC (rev 72353)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2007-02-06 14:58:57 UTC (rev 72354)
@@ -1,3 +1,7 @@
+2007-02-06 Konstantin Triger <[EMAIL PROTECTED]>
+
+ * ProtocolReflector.cs: Ensure the schemas are available for validation.
+
2007-02-01 Konstantin Triger <[EMAIL PROTECTED]>
* ProtocolReflector.cs: throw if not conformant, but declared to be.
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolReflector.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolReflector.cs
2007-02-06 13:12:16 UTC (rev 72353)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolReflector.cs
2007-02-06 14:58:57 UTC (rev 72354)
@@ -284,6 +284,7 @@
#if NET_2_0
if (binfo.WebServiceBindingAttribute != null &&
binfo.WebServiceBindingAttribute.ConformsTo != WsiProfiles.None &&
String.IsNullOrEmpty (binfo.WebServiceBindingAttribute.Name)) {
BasicProfileViolationCollection violations =
new BasicProfileViolationCollection ();
+ desc.Types.Schemas.Add (Schemas);
if
(!WebServicesInteroperability.CheckConformance
(binfo.WebServiceBindingAttribute.ConformsTo, desc, violations))
throw new InvalidOperationException
(violations [0].ToString ());
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches