Ejemplo n.º 1
0
        public void SetUp()
        {
            // this is slow
            var tr = new StreamReader(XmlFileName);
            var xs = new XmlSerializer(typeof(TXLife), Declarations.SchemaVersion);

            _msg    = (TXLife)xs.Deserialize(tr);
            _client = new AcordServiceClient
                          (new BasicHttpBinding(), new EndpointAddress("http://someserver:80/life"));
        }
Ejemplo n.º 2
0
 public void TearDown()
 {
     _msg    = null;
     _client = null;
 }