Author: krasnov
Date: 2006-03-12 07:46:59 -0500 (Sun, 12 Mar 2006)
New Revision: 57862
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapDocumentationHandler.cs
Log:
* SoapDocumentationHandler.cs: TARGET_JVM blocks added to exclude not supported
methods
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog
2006-03-12 11:13:05 UTC (rev 57861)
+++ trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog
2006-03-12 12:46:59 UTC (rev 57862)
@@ -1,3 +1,8 @@
+2006-03-12 Vladimir Krasnov <[EMAIL PROTECTED]>
+
+ * SoapDocumentationHandler.cs: TARGET_JVM blocks added to exclude
+ not supported methods
+
2006-01-12 Ben Maurer <[EMAIL PROTECTED]>
* WebClientProtocol.cs: Add a 2.0 stub
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapDocumentationHandler.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapDocumentationHandler.cs
2006-03-12 11:13:05 UTC (rev 57861)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapDocumentationHandler.cs
2006-03-12 12:46:59 UTC (rev 57862)
@@ -99,9 +99,10 @@
string physPath = Path.Combine (path, help);
+#if !TARGET_JVM
if (!File.Exists (physPath))
throw new InvalidOperationException
("Documentation page '" + physPath + "' not found");
-
+#endif
_pageHandler = PageParser.GetCompiledPageInstance
(vpath, physPath, context);
}
@@ -192,7 +193,8 @@
xtw.Formatting = Formatting.Indented;
GetSchemas() [di].Write (xtw);
}
-
+
+#if !TARGET_JVM
void GenerateCode (HttpContext context, string langId)
{
context.Response.ContentType = "text/plain;
charset=utf-8";
@@ -236,6 +238,14 @@
return provider;
}
+#else
+ void GenerateCode (HttpContext context, string langId) {
+ throw new NotSupportedException();
+ }
+ private CodeDomProvider GetProvider(string langId) {
+ throw new NotSupportedException();
+ }
+#endif
internal ServiceDescriptionCollection GetDescriptions ()
{
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches