[Mono-aspnet-list] When a web method returns DataTable the method generated in proxy class returns DataSet (Bug #360541)

Jan van der watt janvanderwatt at gmail.com
Thu Apr 16 20:24:07 EDT 2009


Hi,

I added a <%@ Assembly name="System.Data" %> to
[TestWebServiceDataTable.aspx] but the effect is still the same.

If you inspect the proxy file generate by running the web service
(http://gdbe.webhop.org/ws/WebServiceDataTable.asmx?page=proxy),
you'll see (towards the end) that DataSet is (still) used, instead of
DataTable.

(and while at the page, do you know why, when you go to the Test Form
for the method, and Invoke it, you get "500 - OK Method HelloWorld not
defined in service WebServiceDataTable" - this happens for all
methods)

Any other suggestions?

Thanks a bunch.

Jan

On Fri, Apr 17, 2009 at 10:04 AM, Gonzalo Paniagua Javier
<gonzalo.mono at gmail.com> wrote:
> On Fri, 2009-04-17 at 09:42 +1000, Jan van der watt wrote:
>> Hi,
>>
>> https://bugzilla.novell.com/show_bug.cgi?id=360541 indicates that this
>> problem was fixed, but I still see it on my Mono (2.4).
>>
>> Am I doing something wrong, or must I "re-open" the bug?
>>
>> Sample code below with extra details.
>
> Try adding a <%@ Assembly name="System.Data" %> too.
>
> -Gonzalo
>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>


More information about the Mono-aspnet-list mailing list