Esempio n. 1
0
 public System.Threading.Tasks.Task <ShippingProject.ServiceReference1.CalcTotalResponse> CalcTotalAsync(string carrier, string shippingMethod, double weight)
 {
     ShippingProject.ServiceReference1.CalcTotalRequest inValue = new ShippingProject.ServiceReference1.CalcTotalRequest();
     inValue.Body                = new ShippingProject.ServiceReference1.CalcTotalRequestBody();
     inValue.Body.carrier        = carrier;
     inValue.Body.shippingMethod = shippingMethod;
     inValue.Body.weight         = weight;
     return(((ShippingProject.ServiceReference1.WebService1Soap)(this)).CalcTotalAsync(inValue));
 }
Esempio n. 2
0
 public double CalcTotal(string carrier, string shippingMethod, double weight)
 {
     ShippingProject.ServiceReference1.CalcTotalRequest inValue = new ShippingProject.ServiceReference1.CalcTotalRequest();
     inValue.Body                = new ShippingProject.ServiceReference1.CalcTotalRequestBody();
     inValue.Body.carrier        = carrier;
     inValue.Body.shippingMethod = shippingMethod;
     inValue.Body.weight         = weight;
     ShippingProject.ServiceReference1.CalcTotalResponse retVal = ((ShippingProject.ServiceReference1.WebService1Soap)(this)).CalcTotal(inValue);
     return(retVal.Body.CalcTotalResult);
 }
Esempio n. 3
0
 System.Threading.Tasks.Task <ShippingProject.ServiceReference1.CalcTotalResponse> ShippingProject.ServiceReference1.WebService1Soap.CalcTotalAsync(ShippingProject.ServiceReference1.CalcTotalRequest request)
 {
     return(base.Channel.CalcTotalAsync(request));
 }
Esempio n. 4
0
 ShippingProject.ServiceReference1.CalcTotalResponse ShippingProject.ServiceReference1.WebService1Soap.CalcTotal(ShippingProject.ServiceReference1.CalcTotalRequest request)
 {
     return(base.Channel.CalcTotal(request));
 }