Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorKonstantin Triger <kostat@mono-cvs.ximian.com>2007-03-06 12:53:10 +0300
committerKonstantin Triger <kostat@mono-cvs.ximian.com>2007-03-06 12:53:10 +0300
commit28019d92aadc812da31b47dc710a8ca5fb28eae8 (patch)
treedef6e5b588d33290ad17c85523eb5f5352237817 /data
parent0e5ca9881037c7f396e112a99cdc671e7fdfe0c8 (diff)
Add webServices/conformanceWarnings defaults and use to the DefaultWsdlHelpGenerator.aspx
svn path=/trunk/mono/; revision=73796
Diffstat (limited to 'data')
-rw-r--r--data/net_2_0/DefaultWsdlHelpGenerator.aspx5
-rwxr-xr-xdata/net_2_0/DefaultWsdlHelpGenerator.jvm.aspx5
-rw-r--r--data/net_2_0/machine.jvm.config3
-rw-r--r--data/net_2_0/web.config3
4 files changed, 14 insertions, 2 deletions
diff --git a/data/net_2_0/DefaultWsdlHelpGenerator.aspx b/data/net_2_0/DefaultWsdlHelpGenerator.aspx
index 6f58830a69d..e2368cf5cba 100644
--- a/data/net_2_0/DefaultWsdlHelpGenerator.aspx
+++ b/data/net_2_0/DefaultWsdlHelpGenerator.aspx
@@ -17,6 +17,7 @@
<%@ Import Namespace="System.Web.Services" %>
<%@ Import Namespace="System.Web.Services.Description" %>
<%@ Import Namespace="System.Web.Services.Configuration" %>
+<%@ Import Namespace="System.Web.Configuration" %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.Globalization" %>
@@ -91,7 +92,9 @@ void Page_Load(object sender, EventArgs e)
Page.DataBind();
ProfileViolations = new BasicProfileViolationCollection ();
- WebServicesInteroperability.CheckConformance (WsiProfiles.BasicProfile1_1, descriptions, ProfileViolations);
+ foreach (WsiProfilesElement claims in ((WebServicesSection) WebConfigurationManager.GetSection("system.web/webServices")).ConformanceWarnings)
+ if (claims.Name != WsiProfiles.None)
+ WebServicesInteroperability.CheckConformance (claims.Name, descriptions, ProfileViolations);
}
void BuildOperationInfo ()
diff --git a/data/net_2_0/DefaultWsdlHelpGenerator.jvm.aspx b/data/net_2_0/DefaultWsdlHelpGenerator.jvm.aspx
index 71329f308a0..01bee25e871 100755
--- a/data/net_2_0/DefaultWsdlHelpGenerator.jvm.aspx
+++ b/data/net_2_0/DefaultWsdlHelpGenerator.jvm.aspx
@@ -17,6 +17,7 @@
<%@ Import Namespace="System.Web.Services" %>
<%@ Import Namespace="System.Web.Services.Description" %>
<%@ Import Namespace="System.Web.Services.Configuration" %>
+<%@ Import Namespace="System.Web.Configuration" %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.Globalization" %>
@@ -90,7 +91,9 @@ void Page_Load(object sender, EventArgs e)
Page.DataBind();
ProfileViolations = new BasicProfileViolationCollection ();
- WebServicesInteroperability.CheckConformance (WsiProfiles.BasicProfile1_1, descriptions, ProfileViolations);
+ foreach (WsiProfilesElement claims in ((WebServicesSection) WebConfigurationManager.GetSection("system.web/webServices")).ConformanceWarnings)
+ if (claims.Name != WsiProfiles.None)
+ WebServicesInteroperability.CheckConformance (claims.Name, descriptions, ProfileViolations);
}
void BuildOperationInfo ()
diff --git a/data/net_2_0/machine.jvm.config b/data/net_2_0/machine.jvm.config
index 75133346d93..53af421d6ba 100644
--- a/data/net_2_0/machine.jvm.config
+++ b/data/net_2_0/machine.jvm.config
@@ -263,6 +263,9 @@
<add name="HttpPostLocalhost"/>
<add name="Documentation"/>
</protocols>
+ <conformanceWarnings>
+ <add name="BasicProfile1_1"/>
+ </conformanceWarnings>
<wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
</webServices>
<webControls clientScriptsLocation="/web_scripts" />
diff --git a/data/net_2_0/web.config b/data/net_2_0/web.config
index 92d34689d6b..32146b7db46 100644
--- a/data/net_2_0/web.config
+++ b/data/net_2_0/web.config
@@ -65,6 +65,9 @@
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
+ <conformanceWarnings>
+ <add name="BasicProfile1_1"/>
+ </conformanceWarnings>
<wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
</webServices>
<pages>