Example #1
0
 public System.Threading.Tasks.Task <WebServiceClientTest.ServiceReference2.CalculatorResponse> CalculatorAsync(int firstVal, int secondVal, string operation)
 {
     WebServiceClientTest.ServiceReference2.CalculatorRequest inValue = new WebServiceClientTest.ServiceReference2.CalculatorRequest();
     inValue.Body           = new WebServiceClientTest.ServiceReference2.CalculatorRequestBody();
     inValue.Body.firstVal  = firstVal;
     inValue.Body.secondVal = secondVal;
     inValue.Body.operation = operation;
     return(((WebServiceClientTest.ServiceReference2.SampleWebServiceSoap)(this)).CalculatorAsync(inValue));
 }
Example #2
0
 public WebServiceClientTest.ServiceReference2.WebServiceResponse Calculator(int firstVal, int secondVal, string operation)
 {
     WebServiceClientTest.ServiceReference2.CalculatorRequest inValue = new WebServiceClientTest.ServiceReference2.CalculatorRequest();
     inValue.Body           = new WebServiceClientTest.ServiceReference2.CalculatorRequestBody();
     inValue.Body.firstVal  = firstVal;
     inValue.Body.secondVal = secondVal;
     inValue.Body.operation = operation;
     WebServiceClientTest.ServiceReference2.CalculatorResponse retVal = ((WebServiceClientTest.ServiceReference2.SampleWebServiceSoap)(this)).Calculator(inValue);
     return(retVal.Body.CalculatorResult);
 }
Example #3
0
 System.Threading.Tasks.Task <WebServiceClientTest.ServiceReference2.CalculatorResponse> WebServiceClientTest.ServiceReference2.SampleWebServiceSoap.CalculatorAsync(WebServiceClientTest.ServiceReference2.CalculatorRequest request)
 {
     return(base.Channel.CalculatorAsync(request));
 }
Example #4
0
 WebServiceClientTest.ServiceReference2.CalculatorResponse WebServiceClientTest.ServiceReference2.SampleWebServiceSoap.Calculator(WebServiceClientTest.ServiceReference2.CalculatorRequest request)
 {
     return(base.Channel.Calculator(request));
 }