Author: ilya
Date: 2005-09-01 12:00:29 -0400 (Thu, 01 Sep 2005)
New Revision: 49276
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/WebReference.cs
Log:
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2005-09-01 15:06:05 UTC (rev 49275)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
2005-09-01 16:00:29 UTC (rev 49276)
@@ -1,3 +1,9 @@
+2005-09-01 Ilya Kharmatsky <ilyak at mainsoft.com >
+
+ * In WebReference.cs excluded by TARGET_J2EE directives
+ constructors / methods which use CodeDom API (unsupported in
+ J2EE configuration.
+
2005-08-15 Gert Driesen <[EMAIL PROTECTED]>
* DocumentableItem.cs: DocumentationElement is also available in .NET
Modified:
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/WebReference.cs
===================================================================
---
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/WebReference.cs
2005-09-01 15:06:05 UTC (rev 49275)
+++
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/WebReference.cs
2005-09-01 16:00:29 UTC (rev 49276)
@@ -42,13 +42,16 @@
sealed class WebReference
{
DiscoveryClientDocumentCollection _documents;
+#if !TARGET_J2EE
CodeNamespace _proxyCode;
+#endif
ServiceDescriptionImportWarnings _warnings;
string _protocolName;
string _appSettingUrlKey;
string _appSettingBaseUrl;
StringCollection _validationWarnings;
+#if !TARGET_J2EE
public WebReference (DiscoveryClientDocumentCollection
documents, CodeNamespace proxyCode)
{
if (documents == null) throw new ArgumentNullException
("documents");
@@ -69,7 +72,7 @@
_appSettingUrlKey = appSettingUrlKey;
_appSettingBaseUrl = appSettingBaseUrl;
}
-
+#endif
public string AppSettingBaseUrl {
get { return _appSettingBaseUrl; }
}
@@ -86,11 +89,11 @@
get { return _protocolName; }
set { _protocolName = value; }
}
-
+#if !TARGET_J2EE
public CodeNamespace ProxyCode {
get { return _proxyCode; }
}
-
+#endif
public StringCollection ValidationWarnings {
get {
if (_validationWarnings == null)
_validationWarnings = new StringCollection ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches