Bug 6041 - wsdl and wsdl2 fails to generate
Summary: wsdl and wsdl2 fails to generate
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies ()
Version: unspecified
Hardware: PC Linux
: Low normal
Target Milestone: Untriaged
Assignee: Martin Baulig
URL:
Depends on:
Blocks:
 
Reported: 2012-07-09 03:59 UTC by Francois
Modified: 2012-09-20 00:35 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
WSDL (5.06 KB, application/octet-stream)
2012-07-09 03:59 UTC, Francois
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Francois 2012-07-09 03:59:44 UTC
Created attachment 2176 [details]
WSDL

The compilation with wsdl.exe (.Net) has no errors and combilding with wsdl (mono) and wsdl2 (mono) does the following error:

Web Services Description Language Utility
Mono Framework v4.0.30319.1
Error: Object reference not set to an instance of an object
Stack:
   at System.Web.Services.Description.WebServicesInteroperability.Check (System.Web.Services.Description.ConformanceCheckContext ctx, System.Web.Services.Description.ConformanceChecker checker, System.Web.Services.Description.Binding b) [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 
frenz@frenz-VirtualBox:~/Arbeitsfläche$ wsdl --version
Error: Unknown option version
Stack:
   at Mono.WebServices.Driver.ImportArgument (System.String argument) [0x00000] in <filename unknown>:0 
  at Mono.WebServices.Driver.Run (System.String[] args) [0x00000] in <filename unknown>:0


The wsdl is in the attachment
Comment 1 Martin Baulig 2012-09-20 00:35:17 UTC
Fixed; master commit e5fd73b.