[Mono-bugs] [Bug 400796] New: wsdl.exe chokes on Exchange 2007 webservices
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jun 17 05:39:19 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=400796
Summary: wsdl.exe chokes on Exchange 2007 webservices
Product: Mono: Tools
Version: 1.9.0
Platform: i386
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: tools
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: marco.cecconi at fullsix.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=222423)
--> (https://bugzilla.novell.com/attachment.cgi?id=222423)
Support files to reproduce
Description of Problem:
wsdl.exe trhrows a rather large exception when generating a proxy client for
the Exchange 2007 web services.
Steps to reproduce the problem:
1. extract messages.xsd Services.wsdl types.xsd in a temp folder
2. run "mono /usr/lib/mono/2.0/wsdl.exe Services.wsdl" while in temp folder
Actual Results:
marco at marco-laptop:~/exchange-client/gen$ mono /usr/lib/mono/2.0/wsdl.exe
Services.wsdl
Web Services Description Language Utility
Mono Framework v2.0.50727.42
Error: XmlSchema error: Base complex type has different content type TextOnly.
Related schema item SourceUri:
file:///home/marco/exchange-client/gen/types.xsd, Line 1586, Position 4.
Stack:
at System.Xml.Schema.ValidationHandler.RaiseValidationEvent
(System.Xml.Schema.ValidationEventHandler handle, System.Exception
innerException, System.String message, System.Xml.Schema.XmlSchemaObject xsobj,
System.Object sender, System.String sourceUri, XmlSeverityType severity)
[0x00000]
at System.Xml.Schema.XmlSchemaObject.error
(System.Xml.Schema.ValidationEventHandler handle, System.String message,
System.Exception innerException, System.Xml.Schema.XmlSchemaObject xsobj,
System.Object sender) [0x00000]
at System.Xml.Schema.XmlSchemaObject.error
(System.Xml.Schema.ValidationEventHandler handle, System.String message)
[0x00000]
at
System.Xml.Schema.XmlSchemaComplexType.ValidateComplexBaseDerivationValidExtension
(System.Xml.Schema.XmlSchemaComplexType baseComplexType,
System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema schema)
[0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentModel
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaElement.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaChoice.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexContentExtension.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexContent.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaElement.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaChoice.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaElement.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaSequence.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaElement.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaChoice.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaSequence.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaElement.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaSequence.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexContentExtension.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexContent.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaElement.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaChoice.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaElement.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaSequence.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.ValidateContentFirstPass
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchemaComplexType.Validate
(System.Xml.Schema.ValidationEventHandler h, System.Xml.Schema.XmlSchema
schema) [0x00000]
at System.Xml.Schema.XmlSchema.Validate
(System.Xml.Schema.ValidationEventHandler handler) [0x00000]
at System.Xml.Schema.XmlSchemaSet.Compile () [0x00000]
at System.Xml.Schema.XmlSchema.Compile
(System.Xml.Schema.ValidationEventHandler handler, System.Xml.XmlResolver
resolver) [0x00000]
at System.Xml.Schema.XmlSchema.Compile
(System.Xml.Schema.ValidationEventHandler handler) [0x00000]
at System.Xml.Serialization.XmlSchemas.Find (System.Xml.Schema.XmlSchema
schema, System.Xml.XmlQualifiedName name, System.Type type) [0x00000]
at System.Xml.Serialization.XmlSchemas.Find (System.Xml.XmlQualifiedName
name, System.Type type) [0x00000]
at System.Xml.Serialization.XmlSchemaImporter.ImportMembersMapping
(System.Xml.XmlQualifiedName[] names) [0x00000]
at System.Web.Services.Description.SoapProtocolImporter.ImportMembersMapping
(System.Web.Services.Description.Message msg,
System.Web.Services.Description.SoapBodyBinding sbb, SoapBindingStyle style,
Boolean output, Boolean wrapped) [0x00000]
at System.Web.Services.Description.SoapProtocolImporter.GenerateMethod ()
[0x00000]
at System.Web.Services.Description.ProtocolImporter.ImportPortBinding
(Boolean multipleBindings) [0x00000]
at System.Web.Services.Description.ProtocolImporter.Import
(System.Web.Services.Description.ServiceDescriptionImporter
descriptionImporter, System.CodeDom.CodeNamespace codeNamespace,
System.Collections.ArrayList importInfo) [0x00000]
at System.Web.Services.Description.ServiceDescriptionImporter.Import
(System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit
codeCompileUnit) [0x00000]
at
System.Web.Services.Description.ServiceDescriptionImporter.GenerateWebReferences
(System.Web.Services.Description.WebReferenceCollection webReferences,
System.CodeDom.Compiler.CodeDomProvider codeGenerator,
System.CodeDom.CodeCompileUnit codeCompileUnit,
System.Web.Services.Description.WebReferenceOptions options) [0x00000]
at Mono.WebServices.Driver.GenerateCode
(System.Web.Services.Description.WebReferenceCollection references,
System.CodeDom.CodeCompileUnit codeUnit) [0x00000]
at Mono.WebServices.Driver.Run (System.String[] args) [0x00000]
Expected Results:
Correctly generated web services proxy client.
How often does this happen?
Every time.
Additional Information:
using the 1.9.1 packages from under xubuntu hardy
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list