[Mono-bugs] [Bug 52591][Wis] New - wsdl fails with some WSDL (xml) schema, XmlInputStream problem (or network stream)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 4 Jan 2004 17:09:12 -0500 (EST)

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 pablo@pablo.com.mx.


--- shadow/52591	2004-01-04 17:09:12.000000000 -0500
+++ shadow/52591.tmp.30352	2004-01-04 17:09:12.000000000 -0500
@@ -0,0 +1,98 @@
+Bug#: 52591
+Product: Mono/Class Libraries
+Version: unspecified
+OS Details: Debian SID
+Status: NEW   
+Priority: Wishlist
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pablo@pablo.com.mx               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: wsdl fails with some WSDL (xml) schema, XmlInputStream problem (or network stream)
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+The Mono version of Wsdl does not generate any code cause it fails with
+some restriction errors. 
+Tested with .28, .29 and CVS version.
+Steps to reproduce the problem:
+1. Open a terminal
+2. Run wsdl with the following argument:
+http://ws.pablo.com.mx/bloggy.php?wsdl, so the complete command line will be:
+$ wsdl http://ws.pablo.com.mx/bloggy.php?wsdl
+Actual Results:
+Error: unmatched closing element: expected xsd:restriction but found
+xsd:restrictio Line 1, position 1257.
+ in <0x00134> System.Xml.XmlTextReader:ReadEndTag ()
+in <0x0004e> System.Xml.XmlTextReader:ReadTag ()
+in <0x000e5> System.Xml.XmlTextReader:ReadContent ()
+in <0x0019f> System.Xml.XmlTextReader:Read ()
+in <0x00014> System.Xml.Schema.XmlSchemaReader:Read ()
+in <0x000a7> System.Xml.Schema.XmlSchemaReader:ReadNextElement ()
+in <0x00832> System.Xml.Schema.XmlSchemaComplexContentRestriction:Read
+in <0x0054a> System.Xml.Schema.XmlSchemaComplexContent:Read
+in <0x00813> System.Xml.Schema.XmlSchemaComplexType:Read
+in <0x00463> System.Xml.Schema.XmlSchema:ReadContent
+in <0x001d3> System.Xml.Schema.XmlSchema:Read
+in <0x0002a>
+in <0x004b9>
+in <0x00a9e>
+in <0x0003c>
+System.Web.Services.Description.ServiceDescriptionReaderBase:ReadTree ()
+in <0x00041> .ServiceDescriptionSerializer:Deserialize
+in <0x00068> System.Xml.Serialization.XmlSerializer:Deserialize
+in <0x0001d> System.Web.Services.Description.ServiceDescription:Read
+in <0x001b1> Mono.WebServices.Driver:Run (string[])
+Expected Results:
+Get a .cs file with the proxy code.
+How often does this happen? 
+Every time in Mono Version.
+Additional Information:
+If I run wsdl (but the MS version) it does give any errors it generated the
+code without problems.
+It looks like a bug in network stream or XmlInputStream, which is specific
+to unix environment. (However, there is no code switch in XmlInputStream.)
+The file to test it will be in: 
+Until the bug is fixed.
+Also, to view the wsdl schema, you can go to:
+Pablo Fischer (pablo at/arroba pablo.com.mx)