Ejemplo n.º 1
0
        public CompositeType GetDataUsingDataContract(CompositeType composite)
        {
            Chain.Service1Client c   = new Chain.Service1Client();
            Chain.CompositeType  req = new Chain.CompositeType();
            req.BoolValue   = composite.BoolValue;
            req.StringValue = composite.StringValue;
            req             = c.GetDataUsingDataContract(req);

            CompositeType res = new CompositeType();

            res.StringValue = req.StringValue;
            res.BoolValue   = req.BoolValue;
            return(res);
        }
Ejemplo n.º 2
0
 public string GetData(int value)
 {
     Chain.Service1Client c = new Chain.Service1Client();
     return(c.GetData(value));
     //return string.Format("You entered: {0}", value);
 }