// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; using ws.soap; public class Program { public static void Main(string[] args) { Test soap = new Test(); // modified T1 o = soap.getOne(123, true); // funky Console.WriteLine(o.f1 + " " + o.f2); T1[] all = soap.getAll(); foreach(T1 one in all) { Console.WriteLine(one.f1 + " " + one.f2); } // funky: bool specified; bool res; soap.save(123, true, "ABC", out res, out specified); Console.WriteLine(res); soap.saveObject(o, out res, out specified); Console.WriteLine(res); soap.delete(123, true, out res, out specified); Console.WriteLine(res); } }