List Info

Thread: GW SOAP & C#




GW SOAP & C#
user name
2006-08-16 20:10:18
Hi!

After reading article about using SOAP and google "http://www.m
ono-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:

marianmariann:~/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"

marianmariann:~/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:ImportSimpleConte
nt (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:ImportMembersMapp
ing (System.Xml.XmlQualifiedName[] names)
in <0x00415>
System.Web.Services.Description.SoapProtocolImporter:ImportM
embersMapping
(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:Generat
eMethod ()
in <0x006c8>
System.Web.Services.Description.ProtocolImporter:ImportPortB
inding (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:I
mport (System.CodeDom.CodeNamespace
codeNamespace, System.CodeDom.CodeCompileUnit
codeCompileUnit)
in <0x0014c>
System.Web.Services.Description.ServiceDescriptionImporter:G
enerateWebReferences
(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?
_______________________________________________
Mono-docs-list maillist  -  Mono-docs-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )