[Mono-list] Web service returning DataSet
Oleg Deribas
oleg at td.kharkov.ukrtel.net
Fri Nov 4 04:23:37 EST 2005
Hello,
Can't get this to work. Mono gives me method which returns
System.Xml.XmlElement instead of DataSet. To test it i've created such
simple case:
---------------- begin testdataset.asmx -------------------
<%@ WebService Language="C#" Class="Test.DataSetService" %>
using System.Web.Services;
using System.Data;
namespace Test
{
public class DataSetService: WebService
{
[WebMethod]
public DataSet MethodReturningDataSet()
{
return new DataSet();
}
}
}
----------------- end testdataset.asmx --------------------
Then run xsp in this directory:
xsp --root . --port 8088 --applications /:.
And then look at http://localhost:8088/testdataset.asmx?page=proxy&
And here I have such MethodReturningDataSet definition:
public System.Xml.XmlElement MethodReturningDataSet()
while when running under microsoft's .NET runtime I've got this:
public System.Data.DataSet MethodReturningDataSet() {
--
Oleg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3206 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20051104/d1827610/smime-0001.bin
More information about the Mono-list
mailing list