http://bugzilla.novell.com/show_bug.cgi?id=569533
http://bugzilla.novell.com/show_bug.cgi?id=569533#c0 Summary: Error using wsdl Classification: Mono Product: Mono: Tools Version: 2.6.x Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: tools AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Description of Problem: WSDL documents which have "portType" operations where the "input" and "output" have names, but no "parameterOrder" has been specified give a "Argument cannot be null" error during the validation of WS-I BP1.1 R2305. According to the WSDL specification the names on the "input" and "output" elements of the "portType/operation" elements are optional, and the parameters named in the the "parameterOrder" attribute are references to the "part" names of the messages referenced by the "input" and "output" elements. Steps to reproduce the problem: 1. Run "wsdl" or "wsdl2" against any of the following WSDL documents: - http://www.ebi.ac.uk/microarray-as/aew/services/query?wsdl - http://www.ebi.ac.uk/ebisearch/service.ebi?wsdl - http://www.ebi.ac.uk/Tools/services/soap/ncbiblast?wsdl Actual Results: > wsdl 'http://www.ebi.ac.uk/ebisearch/service.ebi?wsdl' Web Services Description Language Utility Mono Framework v2.0.50727.1433 Error: Argument cannot be null. Parameter name: array Stack: at System.Array.IndexOf[String] (System.String[] array, System.String value) [0x00000] in <filename unknown>:0 at System.Web.Services.Description.BasicProfileChecker.CheckR2305 (System.Web.Services.Description.ConformanceCheckContext ctx, System.Web.Services.Description.Operation value) [0x00000] in <filename unknown>:0 at System.Web.Services.Description.BasicProfileChecker.Check (System.Web.Services.Description.ConformanceCheckContext ctx, System.Web.Services.Description.Operation value) [0x00000] in <filename unknown>:0 at System.Web.Services.Description.WebServicesInteroperability.Check (System.Web.Services.Description.ConformanceCheckContext ctx, System.Web.Services.Description.ConformanceChecker checker, System.Web.Services.Description.ServiceDescription sd) [0x00000] in <filename unknown>:0 at System.Web.Services.Description.WebServicesInteroperability.Check (WsiProfiles claims, System.Web.Services.Description.ConformanceCheckContext ctx, IEnumerable documents) [0x00000] in <filename unknown>:0 at System.Web.Services.Description.WebServicesInteroperability.CheckConformance (WsiProfiles claims, System.Web.Services.Description.WebReference webReference, System.Web.Services.Description.BasicProfileViolationCollection violations) [0x00000] in <filename unknown>:0 at Mono.WebServices.Driver.GenerateCode (System.Web.Services.Description.WebReferenceCollection references, System.CodeDom.CodeCompileUnit codeUnit) [0x00000] in <filename unknown>:0 at Mono.WebServices.Driver.Run (System.String[] args) [0x00000] in <filename unknown>:0 Expected Results: Web Services Description Language Utility Mono Framework v2.0.50727.1433 There where some warnings while generating the code: ebeye.wsdl - This web reference does not conform to WS-I Basic Profile v1.1 R2112: In a DESCRIPTION, elements SHOULD NOT be named using the convention ArrayOfXXX. * XmlSchemaElement in Schema Schema 'http://www.ebi.ac.uk/EBISearchService', in Service Description 'http://www.ebi.ac.uk/EBISearchService' Writing file 'EBISearchService.cs' How often does this happen? Always. Additional Information: These WSDLs work as expected with: - Microsoft .NET 2.0 SDK - Apache Axis 1.4 - JAX-WS A similar error occurs with Mono 2.2 and 2.4, but not with 2.0. -- Configure bugmail: http://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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
