[Mono-bugs] [Bug 352217] New: Generating WSDL using the ServiceDescriptionReflector class hangs, iFolder build

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 8 01:37:00 EST 2008


           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: mono-bugs at ximian.com
        ReportedBy: bkalidas at novell.com
         QAContact: mono-bugs at ximian.com
          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>
        static int Main(string[] args)
                int result = 0;

                if (args.Length == 0)
                        Console.WriteLine("USAGE: GenerateWsdl.exe [Assembly]
[Type] [URL] [File]");
                        result = -1;;
                                Assembly assembly = Assembly.LoadFrom(args[0]);
                                Type type = assembly.GetType(args[1]);

                                ServiceDescriptionReflector reflector = new
                                reflector.Reflect(type, args[2]);

                                XmlTextWriter writer = new
XmlTextWriter(args[3], Encoding.UTF8);
                                writer.Formatting = Formatting.Indented;
                        catch(Exception 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.

More information about the mono-bugs mailing list