svn path=/trunk/mcs/; revision=72354
+2007-02-06 Konstantin Triger <kostat@mainsoft.com>
+
+ * ProtocolReflector.cs: Ensure the schemas are available for validation.
+
2007-02-01 Konstantin Triger <kostat@mainsoft.com>
* ProtocolReflector.cs: throw if not conformant, but declared to be.
#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 ());
}