public WS.Unit05.Example2.Web.WSClient.ApplicationWS.Product GetProduct(string name, WS.Unit05.Example2.Web.WSClient.ApplicationWS.Zone zone) { WS.Unit05.Example2.Web.WSClient.ApplicationWS.GetProductRequest inValue = new WS.Unit05.Example2.Web.WSClient.ApplicationWS.GetProductRequest(); inValue.Body = new WS.Unit05.Example2.Web.WSClient.ApplicationWS.GetProductRequestBody(); inValue.Body.name = name; inValue.Body.zone = zone; WS.Unit05.Example2.Web.WSClient.ApplicationWS.GetProductResponse retVal = ((WS.Unit05.Example2.Web.WSClient.ApplicationWS.ApplicationServicesSoap)(this)).GetProduct(inValue); return(retVal.Body.GetProductResult); }
public System.Threading.Tasks.Task <WS.Unit05.Example2.Web.WSClient.ApplicationWS.GetProductResponse> GetProductAsync(string name, WS.Unit05.Example2.Web.WSClient.ApplicationWS.Zone zone) { WS.Unit05.Example2.Web.WSClient.ApplicationWS.GetProductRequest inValue = new WS.Unit05.Example2.Web.WSClient.ApplicationWS.GetProductRequest(); inValue.Body = new WS.Unit05.Example2.Web.WSClient.ApplicationWS.GetProductRequestBody(); inValue.Body.name = name; inValue.Body.zone = zone; return(((WS.Unit05.Example2.Web.WSClient.ApplicationWS.ApplicationServicesSoap)(this)).GetProductAsync(inValue)); }
public GetProductRequestBody(string name, WS.Unit05.Example2.Web.WSClient.ApplicationWS.Zone zone) { this.name = name; this.zone = zone; }