[Mono-bugs] [Bug 76848][Wis] New - wsdl2.bat crashes on a correct wsdl file

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 29 11:08:17 EST 2005


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 luberti at archicoop.it.

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

--- shadow/76848	2005-11-29 11:08:17.000000000 -0500
+++ shadow/76848.tmp.1524	2005-11-29 11:08:17.000000000 -0500
@@ -0,0 +1,91 @@
+Bug#: 76848
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Windows XP
+OS Details: Home edition
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web.Services
+AssignedTo: lluis at ximian.com                            
+ReportedBy: luberti at archicoop.it               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: wsdl2.bat crashes on a correct wsdl file
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. run wsdl2.bat against the file attached to this bug
+
+
+Actual Results:
+
+the wsdl2.bat crasches with the following exception. No c# file is generated
+
+Error: Cannot cast from source type to destination type.
+Stack:
+ in <0x0011c>
+System.Xml.Serialization.XmlSchemaImporter:ImportSimpleContent
+(System.Xml.XmlQualifiedName typeQName,
+System.Xml.Serialization.XmlTypeMapping map,
+System.Xml.Schema.XmlSchemaSimpleContent content,
+System.Xml.Serialization.CodeIdentifiers classIds, Boolean isMixed)
+in <0x0016f> System.Xml.Serialization.XmlSchemaImporter:BuildClassMap
+(System.Xml.Serialization.XmlTypeMapping map, System.Xml.XmlQualifiedName
+typeQName, System.Xml.Schema.XmlSchemaComplexType stype)
+in <0x0005e> System.Xml.Serialization.XmlSchemaImporter:BuildPendingMaps ()
+in <0x00134>
+System.Xml.Serialization.XmlSchemaImporter:ImportMembersMappingComposite
+(System.Xml.Schema.XmlSchemaComplexType stype, System.Xml.XmlQualifiedName
+refer)
+in <0x001d5>
+System.Xml.Serialization.XmlSchemaImporter:ImportMembersMapping
+(System.Xml.XmlQualifiedName name)
+in <0x001b1>
+System.Web.Services.Description.SoapProtocolImporter:ImportMembersMapping
+(System.Web.Services.Description.Message msg,
+System.Web.Services.Description.SoapBodyBinding sbb, SoapBindingStyle
+style, Boolean output)
+in <0x002de>
+System.Web.Services.Description.SoapProtocolImporter:GenerateMethod ()
+in <0x006b8>
+System.Web.Services.Description.ProtocolImporter:ImportPortBinding (Boolean
+multipleBindings)
+in <0x003cb> System.Web.Services.Description.ProtocolImporter:Import
+(System.Web.Services.Description.ServiceDescriptionImporter
+descriptionImporter, System.CodeDom.CodeNamespace codeNamespace,
+System.CodeDom.CodeCompileUnit codeCompileUnit,
+System.Collections.ArrayList importInfo)
+in <0x00029>
+System.Web.Services.Description.ServiceDescriptionImporter:Import
+(System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit
+codeCompileUnit)
+in <0x0014c>
+System.Web.Services.Description.ServiceDescriptionImporter:GenerateWebReferences
+(System.Web.Services.Description.WebReferenceCollection webReferences,
+CodeGenerationOptions options, ServiceDescriptionImportStyle style,
+ICodeGenerator codeGenerator, System.CodeDom.CodeCompileUnit
+codeCompileUnit, Boolean verbose)
+in <0x000b0> Mono.WebServices.Driver:GenerateCode
+(System.Web.Services.Description.WebReferenceCollection references,
+System.CodeDom.CodeCompileUnit codeUnit)
+in <0x00390> Mono.WebServices.Driver:Run (System.String[] args)
+
+
+
+
+Expected Results:
+
+c# file generation, as it happens with the wsdl.exe tool of the Microsoft
+.NET SDK Framework
+
+How often does this happen? 
+
+every time the wsdl2.bat tool runs against the file attached


More information about the mono-bugs mailing list