[Mono-bugs] [Bug 66877][Nor] New - WSDL proxy class generation fails

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 27 Sep 2004 04:34: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 rbirkby@gmail.com.


--- shadow/66877	2004-09-27 04:34:01.000000000 -0400
+++ shadow/66877.tmp.14684	2004-09-27 04:34:01.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 66877
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: FC3Test2
+Status: NEW   
+Priority: Normal
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: rbirkby@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: WSDL proxy class generation fails
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Using wsdl.exe to generate a proxy class generates invalid C# code from a
+valid WSDL document (a document which conforms to the WS-i standard).
+Steps to reproduce the problem:
+1. Save the attached WSDL document
+2. Run wsdl.exe against it
+3. Attempt to compile the resulting proxy class
+Actual Results:
+The C# compiler complains because the following code has been generated:
+public enum MyEnum {
+    /// <remarks/>
+    ,
+Expected Results:
+The C# code generated should be:
+public enum MyEnum {
+    [System.Xml.Serialization.XmlEnumAttribute("")]
+    Item
+How often does this happen? 
+Every time