[Mono-dev] bug in wsdl to C# generation ?
Lluis Sanchez
lluis at ximian.com
Sun Nov 27 12:52:42 EST 2005
Can you please file a bug report in bugzilla.ximian.com for this?
thanks!
Lluis.
El jue, 24-11-2005 a las 17:54 +0100, Ivano Luberti escribió:
> Hi, I think I have just hit a bug.
> Executing the wsdl tool it can't generate the C# file and throw the
> following exception.
> Applying to the same file to the wsdl.exe in Microsoft .NET Frmaework
> SDK, the file is created correctly.
>
> Here is the error:
>
> 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)
>
>
>
>
>
>
>
>
>
> ==================================================
> Archimede Informatica NEWS!
> ==================================================
>
> Realizzato il Sistema Integrato per la biglietteria della Torre di
> Pisa:
> prenotazione, vendita, pre-vendita ed emissione dei biglietti di
> ingresso
> alla Torre sia online che presso le biglietterie dislocate sulla
> piazza:
>
> http://www.opapisa.it/boxoffice
>
> Partner del Progetto Ci-Tel "Front office Telematico per il
> cittadino"
> Ente Coordinatore Comune di Pisa
>
> http://www.comune.pisa.it/doc/e-government.htm
>
>
> ==================================================
> dott. Ivano Mario Luberti
> Archimede Informatica societa' cooperativa a r. l.
> Sede Operativa
> Via Gereschi 36 - 56126- Pisa
> tel.: +39-050- 580959
> tel/fax: +39-050-9711344
> e-mail: archimede at archicoop.it
> web: http://www.archicoop.it
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list