https://bugzilla.novell.com/show_bug.cgi?id=661400
https://bugzilla.novell.com/show_bug.cgi?id=661400#c0 Summary: Cannot import a valid wsdl into mono develop Classification: Mono Product: MonoTouch Version: SVN Platform: Macintosh OS/Version: Mac Status: NEW Severity: Normal Priority: P5 - None Component: Tools AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (iPad; U; CPU OS 3_2_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B500 Safari/531.21.10 I am having issues importing my wsdl into mono develop. This wsdl and xsd implementation works flawlessly under Visual Studio, but cannot be imported into mono develop. I have also checked it against several wsdl verification sites and they all pass. The process I use is to create a project and then “add web reference”. I then select .net 2.0 as the type of wsdl. I then paste in the link to the wsdl. And then hit “jump to”. Then I get the error listed below. This is preventing me from finishing my evaluation of the product, and any help you can provide would be beneficial. The wsdl files are located here: ftp.echelon.com/fae/na/outgoing/GDahl/wsdlissue/v4.0.zip wsdl file in question is ilon100.wsdl. System.Xml.Schema.XmlSchemaException: XmlSchema error: Target namespace is required, to include a schema which has its own target namespace Related schema item SourceUri: http://216.254.101.36/WSDL/v4.0/iLON100.wsdl, Line 31, Position 4. 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] in :0 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] in :0 at System.Xml.Schema.XmlSchemaObject.error (System.Xml.Schema.ValidationEventHandler handle, System.String message) [0x00000] in :0 at System.Xml.Schema.XmlSchema.ProcessExternal (System.Xml.Schema.ValidationEventHandler handler, System.Collections.Hashtable handledUris, System.Xml.XmlResolver resolver, System.Xml.Schema.XmlSchemaExternal ext, System.Xml.Schema.XmlSchemaSet col) [0x00000] in :0 at System.Xml.Schema.XmlSchema.AddExternalComponentsTo (System.Xml.Schema.XmlSchema s, System.Xml.Schema.XmlSchemaObjectCollection items, System.Xml.Schema.ValidationEventHandler handler, System.Collections.Hashtable handledUris, System.Xml.XmlResolver resolver, System.Xml.Schema.XmlSchemaSet col) [0x00000] in :0 at System.Xml.Schema.XmlSchema.ProcessExternal (System.Xml.Schema.ValidationEventHandler handler, System.Collections.Hashtable handledUris, System.Xml.XmlResolver resolver, System.Xml.Schema.XmlSchemaExternal ext, System.Xml.Schema.XmlSchemaSet col) [0x00000] in :0 at System.Xml.Schema.XmlSchema.DoCompile (System.Xml.Schema.ValidationEventHandler handler, System.Collections.Hashtable handledUris, System.Xml.Schema.XmlSchemaSet col, System.Xml.XmlResolver resolver) [0x00000] in :0 at System.Xml.Schema.XmlSchema.CompileSubset (System.Xml.Schema.ValidationEventHandler handler, System.Xml.Schema.XmlSchemaSet col, System.Xml.XmlResolver resolver, System.Collections.Hashtable handledUris) [0x00000] in :0 at System.Xml.Schema.XmlSchemaSet.Compile () [0x00000] in :0 at System.Xml.Schema.XmlSchema.Compile (System.Xml.Schema.ValidationEventHandler handler, System.Xml.XmlResolver resolver) [0x00000] in :0 at System.Xml.Schema.XmlSchema.Compile (System.Xml.Schema.ValidationEventHandler handler) [0x00000] in :0 at System.Xml.Serialization.XmlSchemas.Find (System.Xml.Schema.XmlSchema schema, System.Xml.XmlQualifiedName name, System.Type type) [0x00000] in :0 at System.Xml.Serialization.XmlSchemas.Find (System.Xml.XmlQualifiedName name, System.Type type) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.ImportType (System.Xml.XmlQualifiedName name, System.Xml.XmlQualifiedName root, Boolean throwOnError) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.GetTypeData (System.Xml.XmlQualifiedName typeQName, System.Xml.XmlQualifiedName root, Boolean isNullable) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.GetElementTypeData (System.Xml.XmlQualifiedName typeQName, System.Xml.Schema.XmlSchemaElement elem, System.Xml.XmlQualifiedName root, System.Xml.Serialization.XmlTypeMapping& map) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.ImportSequenceContent (System.Xml.XmlQualifiedName typeQName, System.Xml.Serialization.ClassMap cmap, System.Xml.Schema.XmlSchemaObjectCollection items, System.Xml.Serialization.CodeIdentifiers classIds, Boolean multiValue, System.Boolean& isMixed) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.ImportParticleContent (System.Xml.XmlQualifiedName typeQName, System.Xml.Serialization.ClassMap cmap, System.Xml.Schema.XmlSchemaParticle particle, System.Xml.Serialization.CodeIdentifiers classIds, Boolean multiValue, System.Boolean& isMixed) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.ImportParticleComplexContent (System.Xml.XmlQualifiedName typeQName, System.Xml.Serialization.ClassMap cmap, System.Xml.Schema.XmlSchemaParticle particle, System.Xml.Serialization.CodeIdentifiers classIds, Boolean isMixed) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.BuildClassMap (System.Xml.Serialization.XmlTypeMapping map, System.Xml.XmlQualifiedName typeQName, System.Xml.Schema.XmlSchemaComplexType stype) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.BuildPendingMaps () [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.ImportMembersMappingComposite (System.Xml.Schema.XmlSchemaComplexType stype, System.Xml.XmlQualifiedName refer) [0x00000] in :0 at System.Xml.Serialization.XmlSchemaImporter.ImportMembersMapping (System.Xml.XmlQualifiedName name) [0x00000] in :0 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] in :0 at System.Web.Services.Description.SoapProtocolImporter.GenerateMethod () [0x00000] in :0 at System.Web.Services.Description.ProtocolImporter.ImportPortBinding (Boolean multipleBindings) [0x00000] in :0 at System.Web.Services.Description.ProtocolImporter.Import (System.Web.Services.Description.ServiceDescriptionImporter descriptionImporter, System.CodeDom.CodeNamespace codeNamespace, System.Collections.ArrayList importInfo) [0x00000] in :0 at System.Web.Services.Description.ServiceDescriptionImporter.Import (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit) [0x00000] in :0 at MonoDevelop.WebReferences.Library.GenerateWsdlXml (System.Text.StringBuilder text, System.Web.Services.Discovery.DiscoveryClientProtocol protocol) [0x00000] in :0 at MonoDevelop.WebReferences.WS.WebServiceDiscoveryResultWS.GetDescriptionMarkup () [0x00000] in :0 at MonoDevelop.WebReferences.Dialogs.WebReferenceDialog.UpdateService (MonoDevelop.WebReferences.WebServiceDiscoveryResult service, System.String url) [0x00000] in :0 at MonoDevelop.WebReferences.Dialogs.WebReferenceDialog+c_AnonStorey5.<>m_0 (System.Object , System.EventArgs ) [0x00000] in :0 at Gtk.Application+InvokeCB.Invoke () [0x00000] in :0 at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in :0 Reproducible: Always Steps to Reproduce: 1.See above description 2. 3. Actual Results: Exception related to namespace Expected Results: Imported wsdl See wsdl FTP site listed in report -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
