[Mono-bugs] [Bug 59010][Maj] New - MONO Beta 1 Bug in Xml Serializer handling of href ids

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 25 May 2004 00:34:22 -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=59010

--- shadow/59010	2004-05-25 00:34:22.000000000 -0400
+++ shadow/59010.tmp.16373	2004-05-25 00:34:22.000000000 -0400
@@ -0,0 +1,76 @@
+Bug#: 59010
+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 Xml Serializer handling of href ids
+
+Description of Problem:
+MONO Beta 1 has a bug accessing an AXIS Web Service, it appears to be 
+something to do with AXIS using href IDs within the xml?
+I have included a test case that works perfectly on MS.NET but shows the 
+bug on MONO Beta 1.
+
+Steps to reproduce the problem:
+1. csc WSTester.cs /r:System.Web.Services.dll
+2. Run test case.
+
+Actual Results:
+Unhandled Exception: System.InvalidOperationException: The specified type 
+was not recognized: name='string' 
+namespace='http://www.w3.org/2001/XMLSchema', at <string 
+xmlns='http://www.w3.org/2001/XMLSchema'>
+in <0x0025b> 
+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 <0x00088> UserAdminService:getUserInfoByFirstNameWildcard (string,int)
+in <0x00067> (wrapper remoting-invoke-with-check) 
+UserAdminService:getUserInfoByFirstNameWildcard (string,int)
+in <0x0008e> WSTester:Main ()
+
+Expected Results:
+List of user names should be printed (as per MS.NET).
+
+How often does this happen? 
+All the time on MONO.
+
+Additional Information:
+See test case.