有没有人提供用于提取从 Web 服务返回的数据的查询语言的来源。
我写了一个网络服务返回一个数据集,
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class Service1 : System.Web.Services.WebService
{
[WebMethod]
public DataSet GetData()
{
AWDS ds = new AWDS();//AWDS is my dataset class name
SalesPersonTableAdapter ta = new SalesPersonTableAdapter();
ta.Fill(ds.SalesPerson);
return ds;
}
}
我使用了在资源中找到的这个查询
<Query>
<Method Namespace="http://tempuri.org/" Name="GetData">
</Method>
<SoapAction>http://tempuri.org/GetData</SoapAction>
</Query>
“这个查询语言名称是什么”
但我得到了数据集的架构(我的表列显示为记录)。
我想了解更多如何获取某个表的架构。
谢谢