views:

256

answers:

1

Hi All,

Has anyone a source of the qury language used to extract data returned from a web service.

I wrote a web service returnes a dataset,

[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;
    }
}

I used this query I found in a resource

<Query>
<Method Namespace="http://tempuri.org/" Name="GetData">
</Method>
<SoapAction>http://tempuri.org/GetData&lt;/SoapAction&gt;
</Query>

"whats this query language name"

but I get the schema of the data set(my tables coloums shown as records).

I want to learn more how to get the the schema of a certain table.

Thanks

A: 

Please try to be more clear about what you're asking. I have no idea what this "query" XML is that you posted. It's not a query language at all.

Also, you should avoid returning DataSet from a web service. It doesn't interoperate with non .NET platforms, and sometimes not with .NET, either.


I found some resources on xmlDP on MSDN. See xmldp query syntax.

I hope that helps.

John Saunders
Ok, it's a query language named xmlDP used to sail through wxl returned from a web service, and i'm encountering a lack of resources about
netseng