private static void Main() { Console.WriteLine("Client - wait for services"); Console.ReadLine(); var service = new DemoServiceClient(); Console.WriteLine(service.GetData("HelloB")); Console.ReadLine(); }
private static void Main(string[] args) { var client = new DemoServiceClient(); var data = client.GetData(125); var composite = new CompositeType() { BoolValue = true }; var type = client.GetDataUsingDataContract(composite); }