https://bugzilla.novell.com/show_bug.cgi?id=360541


           Summary: When a web method returns DataTable the method generated
                    in proxy class returns DataSet.
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
                CC: [EMAIL PROTECTED]
          Found By: Development


Description of Problem:
When a web method returns DataTable the method generated in proxy class returns
DataSet.

Steps to reproduce the problem:
1. Create WebService 
2. Add webmethod that returns DataTable
3. Create console client
4. Add web reference to the web service


Actual Results:
The webmethod generated in proxy class returns DataSet.

Expected Results:
The webmethod generated in proxy class should return DataTable.

How often does this happen? 
Every time.

Additional Information:

I did a fix for this bug that contains a correction of the methods
DataTable.GetDataTableSchema and DataSet.GetDataSetSchema and changes in 
XmlSchemaExporter so that it will use the schema type returned by these
methods.

But it caused that calling of XmlSchemas.Find method more than one time throws
the follow exception:

System.Xml.Schema.XmlSchemaException: XmlSchema error: Multiple specification
of ##any was found. Related schema item SourceUri: , Line 0, Position 0.

The attached file contains an illustration of this failure.


-- 
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  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to