[Mono-docs-list] GW SOAP & C#

Mariusz Mart mamart at novell.pl
Wed Aug 16 16:10:18 EDT 2006


Hi!

After reading article about using SOAP and google "http://www.mono-project.com/Web_Services"
I wanted to made a strange thing:

I've downloaded novell-gwsoap-devel-2006.06.14-1cross_platform.tar.gz
extracted
in directory schemas there is file "groupwise.wsdl"
then I run "wsdl groupwise.wsdl"
and I have error:

marian at mariann:~/mono/novell-gwsoap-devel-2006.06.14-1cross_platform/schemas> wsdl groupwise.wsdl
Mono Web Services Description Language Utility
Error: Cannot cast from source type to destination type.

when I use type "wsdl2 groupwise.wsdl"

marian at mariann:~/mono/novell-gwsoap-devel-2006.06.14-1cross_platform/schemas> wsdl2 groupwise.wsdl
Web Services Description Language Utility
Mono Framework v2.0.50727.42
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 <0x0017e> System.Xml.Serialization.XmlSchemaImporter:ImportMembersMapping (System.Xml.XmlQualifiedName[] names)
in <0x00415> System.Web.Services.Description.SoapProtocolImporter:ImportMembersMapping
(System.Web.Services.Description.Message msg, System.Web.Services.Description.SoapBodyBinding sbb, SoapBindingStyle
style, Boolean output, Boolean wrapped)
in <0x001e3> System.Web.Services.Description.SoapProtocolImporter:GenerateMethod ()
in <0x006c8> 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 <0x00393> Mono.WebServices.Driver:Run (System.String[] args)

I'm using mono-web-1.1.13.8-2.7
Any ideas?


More information about the Mono-docs-list mailing list