https://bugzilla.novell.com/show_bug.cgi?id=352217
Summary: Generating WSDL using the ServiceDescriptionReflector class hangs, iFolder build Product: Mono: Compilers Version: 1.2.5 Platform: i586 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Critical Priority: P5 - None Component: C# AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] Found By: Development OS: OES 2/OpenSuSE 10.3 Mono version: 1.2.2 and 1.2.5 The utility using this class hangs in the reflect method. This utility is called from the make file for generating wsdl. Though this is random, it happens often causing the auto-build system to fail. Actual code class GenerateWsdl { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static int Main(string[] args) { int result = 0; if (args.Length == 0) { Console.WriteLine("USAGE: GenerateWsdl.exe [Assembly] [Type] [URL] [File]"); result = -1;; } else { try { Assembly assembly = Assembly.LoadFrom(args[0]); Type type = assembly.GetType(args[1]); ServiceDescriptionReflector reflector = new ServiceDescriptionReflector(); reflector.Reflect(type, args[2]); XmlTextWriter writer = new XmlTextWriter(args[3], Encoding.UTF8); writer.Formatting = Formatting.Indented; reflector.ServiceDescriptions[0].Write(writer); writer.Close(); } catch(Exception ex) { Console.Error.WriteLine(ex); result = -1; } } return result; } } -- 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. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs