[Mono-bugs] [Bug 66988][Wis] New - [TESTCASE] Deserializing a lot of data from a web service throws a XmlException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 28 Sep 2004 12:07:48 -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 grompf@sublimeintervention.com.

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

--- shadow/66988	2004-09-28 12:07:48.000000000 -0400
+++ shadow/66988.tmp.18737	2004-09-28 12:07:48.000000000 -0400
@@ -0,0 +1,61 @@
+Bug#: 66988
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: osx 10.3.5
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: grompf@sublimeintervention.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [TESTCASE] Deserializing a lot of data from a web service throws a XmlException
+
+The attached testcase will demonstrate this bug; where an unexpected depths xml exception is 
+thrown:
+
+Unhandled Exception: System.Xml.XmlException: unexpected end of file. Current depth is 6
+in <0x00160> System.Xml.XmlTextReader:ReadContent ()
+in <0x00168> System.Xml.XmlTextReader:Read ()
+in <0x00b08> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
+in <0x003b8> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
+in <0x003b8> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
+in <0x003b8> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
+in <0x0011c> System.Xml.Serialization.XmlSerializationReader:ReadTypedPrimitive 
+(System.Xml.XmlQualifiedName)
+in <0x002c4> System.Xml.Serialization.XmlSerializationReader:ReadReferencingElement 
+(string,string,bool,string&)
+in <0x000c0> System.Xml.Serialization.XmlSerializationReader:ReadReferencingElement 
+(string&)
+in <0x023a8> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers 
+(System.Xml.Serialization.ClassMap,object,bool,bool)
+in <0x00320> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMessage 
+(System.Xml.Serialization.XmlMembersMapping)
+in <0x00174> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadRoot ()
+in <0x000d4> System.Xml.Serialization.XmlSerializer:Deserialize 
+(System.Xml.Serialization.XmlSerializationReader)
+in <0x000ac> System.Xml.Serialization.XmlSerializer:Deserialize (System.Xml.XmlReader)
+in <0x00180> System.Web.Services.Protocols.WebServiceHelper:ReadSoapMessage 
+(System.Xml.XmlTextReader,System.Web.Services.Protocols.SoapTypeStubInfo,System.Web.Servic
+es.Description.SoapBindingUse,System.Xml.Serialization.XmlSerializer,object&,System.Web.Servic
+es.Protocols.SoapHeaderCollection&)
+in <0x0042c> System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse 
+(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Service
+s.Protocols.SoapExtension[])
+in <0x000c8> (wrapper remoting-invoke-with-check) 
+System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse 
+(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Service
+s.Protocols.SoapExtension[])
+in <0x003e4> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
+in <0x000b0> (wrapper remoting-invoke-with-check) 
+System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
+in <0x00090> xtvdWebService:download (string,string)
+in <0x000b0> (wrapper remoting-invoke-with-check) xtvdWebService:download (string,string)
+in <0x00178> Test:Main (string[])
+
+NB: This web service works perfectly under ms.net