远程对象如下:
using System;  
using System.Data; 
using System.Data.SqlClient; 
using System.Runtime.Remoting.Services;namespace RemoteObject  
{  
    public class MyObject:RemotingService
    {  
        public DataSet GetData() 
        { 
            SqlConnection conn=new SqlConnection  (System.Configuration.ConfigurationSettings.AppSettings["strconn"]); 
            SqlDataAdapter da=new SqlDataAdapter("select * from UBI_ProvinceMaster",conn); 
            DataSet ds=new DataSet(); 
            da.Fill(ds); 
            return ds; 
        } 
    } 
}  
配置文件如下:
 <system.runtime.remoting>
        <application>
            <service>
                <wellknown type="RemoteObject.MyObject,RemoteObject" objectUri="MyObject.soap"
                    mode="SingleCall" />
            </service>     
        </application>
    </system.runtime.remoting>
</configuration>
当用 wsdl http://localhost/RemoteObject/MyObject.soap?wsdl命令生成代理类时报错:无法找到DataSet数据类型,请问这是什么原因,难道Remoting 不支持DataSet类型数据序列化吗??