2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / XmlReturnWriter.cs
index 8b463a6ea17699a5eefaa9994308950e23165f3d..6792ef1691eb86b33d82236af2df814e8ede8756 100644 (file)
@@ -43,7 +43,7 @@ namespace System.Web.Services.Protocols {
 
                public override object GetInitializer (LogicalMethodInfo methodInfo)
                {
-                       ServerType sti = TypeStubManager.GetLogicalTypeInfo (methodInfo.DeclaringType);
+                       LogicalTypeInfo sti = TypeStubManager.GetLogicalTypeInfo (methodInfo.DeclaringType);
                        object[] ats = methodInfo.ReturnTypeCustomAttributeProvider.GetCustomAttributes (typeof(XmlRootAttribute), true);
                        XmlRootAttribute root = ats.Length > 0 ? ats[0] as XmlRootAttribute : null; 
                        
@@ -65,7 +65,7 @@ namespace System.Web.Services.Protocols {
                                else
                                {
                                        importer.IncludeTypes (metinfo.CustomAttributeProvider);
-                                       ServerType sti = TypeStubManager.GetLogicalTypeInfo (metinfo.DeclaringType);
+                                       LogicalTypeInfo sti = TypeStubManager.GetLogicalTypeInfo (metinfo.DeclaringType);
                                        object[] ats = methodInfos[n].ReturnTypeCustomAttributeProvider.GetCustomAttributes (typeof(XmlRootAttribute), true);
                                        XmlRootAttribute root = ats.Length > 0 ? ats[0] as XmlRootAttribute : null; 
                                        sers[n] = importer.ImportTypeMapping (methodInfos[n].ReturnType, root, sti.GetWebServiceLiteralNamespace (sti.WebServiceNamespace));