[Mono-bugs] [Bug 48877][Nor] New - Not possible to add multilpe instances of SoapIncludeAttribute

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 25 Sep 2003 09:52:14 -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 olof.harwell@labs2.com.


--- shadow/48877	2003-09-25 09:52:14.000000000 -0400
+++ shadow/48877.tmp.15319	2003-09-25 09:52:14.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 48877
+Product: Mono/Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: olof.harwell@labs2.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Not possible to add multilpe instances of SoapIncludeAttribute
+Description of Problem:
+It should be possible to add multiple instances of the 
+SoapIncludeAttribute attributes in a soap proxy class, such as:
+public class CustomerApi : 
+System.Web.Services.Protocols.SoapHttpClientProtocol {
+Results in:
+Compilation error:
+error CS0579: Duplicate 'System.Xml.Serialization.SoapIncludeAttribute' 
+The attribute SoapIncludeAttribute uses the default value 
+for 'AllowMultiple' which is false. 
+Since the implmentation in SoapReflectionImporter.cs:176 seems to support 
+multiple attributes it should just be a matter setting 
+the 'AllowMultiple' in the SoapIncludeAttribute.cs to 'true'