[Mono-bugs] [Bug 59003][Maj] New - MONO Beta 1 Bug in Web Service Deserializer

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 24 May 2004 23:04:32 -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 davidandrewtaylor@hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=59003

--- shadow/59003	2004-05-24 23:04:31.000000000 -0400
+++ shadow/59003.tmp.15350	2004-05-24 23:04:32.000000000 -0400
@@ -0,0 +1,92 @@
+Bug#: 59003
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 002 Two hours
+Priority: Major
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: davidandrewtaylor@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: MONO Beta 1 Bug in Web Service Deserializer
+
+Description of Problem:
+Bug with MONO Beta 1 Web Service deserializer when calling AXIS Web 
+Service.  Works fine on MS.NET but throws an XmlException on MONO Beta 1.
+
+Steps to reproduce the problem:
+1. mcs or csc WSText.cs /r:System.Web.Services.dll
+2. Run test case (which calls the web service).
+
+Actual Results:
+Unhandled Exception: System.Xml.XmlException: 'Element' is an invalid 
+node type. Line 83, position 4.
+in <0x00133> System.Xml.XmlReader:ReadEndElement ()
+in <0x00456> System.Xml.Serialization.XmlSerializationReader:ReadList 
+(object&)
+in <0x001fa> 
+System.Xml.Serialization.XmlSerializationReader:ReadReferencingElement 
+(string,string,bool,string&)
+in <0x00070> 
+System.Xml.Serialization.XmlSerializationReader:ReadReferencingElement 
+(string&)
+in <0x01047> 
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers 
+(System.Xml.Serialization.ClassMap,object,bool,bool)
+in <0x00057> 
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstan
+ceMembers (System.Xml.Serialization.XmlTypeMapping,object)
+in <0x00207> 
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstan
+ce (System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00064> 
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject 
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00021> ReaderCallbackInfo:ReadObject ()
+in <0x00041> (wrapper delegate-invoke) 
+System.MulticastDelegate:invoke_object ()in <0x00264> 
+System.Xml.Serialization.XmlSerializationReader:ReadReferencedElement 
+(string,string)
+in <0x00068> 
+System.Xml.Serialization.XmlSerializationReader:ReadReferencedElement ()
+in <0x00051> 
+System.Xml.Serialization.XmlSerializationReader:ReadReferencedElements ()
+in <0x00355> 
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMessage 
+(System.Xml.Serialization.XmlMembersMapping)
+in <0x000f2> 
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadRoot ()
+in <0x00086> System.Xml.Serialization.XmlSerializer:Deserialize 
+(System.Xml.Serialization.XmlSerializationReader)
+in <0x00056> System.Xml.Serialization.XmlSerializer:Deserialize 
+(System.Xml.XmlReader)
+in <0x000fd> 
+System.Web.Services.Protocols.WebServiceHelper:ReadSoapMessage 
+(System.Xml.XmlTextReader,System.Web.Services.Protocols.SoapTypeStubInfo,S
+ystem.Web.Services.Description.SoapBindingUse,System.Xml.Serialization.Xml
+Serializer,object&,System.Web.Services.Protocols.SoapHeaderCollection&)
+in <0x00335> 
+System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse 
+(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,Sy
+stem.Web.Services.Protocols.SoapExtension[])
+in <0x0007d> (wrapper remoting-invoke-with-check) 
+System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse 
+(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,Sy
+stem.Web.Services.Protocols.SoapExtension[])
+in <0x002ce> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke 
+(string,object[])
+in <0x0003c> TestWebService:getAllProducts ()
+in <0x00050> (wrapper remoting-invoke-with-check) 
+TestWebService:getAllProducts ()
+in <0x00084> WSTest:Main ()
+
+Expected Results:
+Should output a list of products.
+
+How often does this happen? 
+All the time on MONO Beta 1.