[Mono-bugs] [Bug 68795][Maj] New - (mono 1.1.1) WSDL -appsettingurlkey generating empty ctor for proxy class
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 26 Oct 2004 08:26:01 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by yjost@perinfo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=68795
--- shadow/68795 2004-10-26 08:26:01.000000000 -0400
+++ shadow/68795.tmp.11433 2004-10-26 08:26:01.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 68795
+Product: Mono: Compilers
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details:
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Major
+Component: Other.
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: yjost@perinfo.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: (mono 1.1.1) WSDL -appsettingurlkey generating empty ctor for proxy class
+
+Description of Problem:
+When using the appsettingurlkey parameter with wsdl, the generated class
+has an empty constructor, where it should initialise the endpoint url
+
+Steps to reproduce the problem:
+1. Get a wsdl file (mywsdl.wsdl)
+2. Generate a proxy class with
+wsdl -appsettingurlkey:serveraddress -out:myproxy.cs mywsdl.wsdl
+
+Actual Results:
+The constructor is empty
+
+Expected Results:
+The constructor should contain :
+string urlSetting = System.Configuration.ConfigurationSettings.
+AppSettings["serveraddress"];
+if ((urlSetting != null)) {
+this.Url = urlSetting;
+} else {
+this.Url = "http://defaultserver/default";
+}
+
+How often does this happen?
+Everytime whith mono 1.1.1
+
+Additional Information:
+Work perfectly with mono 1.0.1