Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
Example #1
0
 public void WhenICallTheHelloWorldMethod()
 {
     using (var service = new AddTwoNumbers())
     {
         var result = service.HelloWorld();
         ScenarioContext.Current.Add("result", result);
     }
 }
Example #2
0
        public void WhenICallTheWebServiceToAddTheNumbers()
        {
            using (var service = new AddTwoNumbers())
            {
                var result = service.AddNumbers(
                    ScenarioContext.Current.Get<int>("first"), ScenarioContext.Current.Get<int>("second"));

                ScenarioContext.Current.Add("result", result);
            }
        }