public void PrintRegExpsToFile(string keyword, string regexp_substring, int min_rating, int howmanyrows, string filename)
        {
            WebservicesSoapClient wssc = new WebservicesSoapClient();
            System.Console.WriteLine(wssc.State);
            DataSet ds = new DataSet();

            ds = wssc.listRegExp(keyword, regexp_substring, min_rating, howmanyrows);
            ds.WriteXml(filename, System.Data.XmlWriteMode.IgnoreSchema);

            ds.Clear();
            wssc.Abort();
            wssc.Close();
        }
Exemple #2
0
        public void PrintRegExpsToFile(string keyword, string regexp_substring, int min_rating, int howmanyrows, string filename)
        {
            WebservicesSoapClient wssc = new WebservicesSoapClient();

            System.Console.WriteLine(wssc.State);
            DataSet ds = new DataSet();

            ds = wssc.listRegExp(keyword, regexp_substring, min_rating, howmanyrows);
            ds.WriteXml(filename, System.Data.XmlWriteMode.IgnoreSchema);

            ds.Clear();
            wssc.Abort();
            wssc.Close();
        }