Info | ||
---|---|---|
| ||
|
Note: If you are upgrading to Gen API 3.1 (or later) you will want to reference this page.
Examples
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
var binding = new WSHttpBinding(); binding.Security.Mode = SecurityMode.None; var endpoint = new EndpointAddress("http://eshademo.cloudapp.net/soap/foodqueryservice.svc"); IFoodAnalysisQueryService fs = new FoodAnalysisQueryServiceClient(binding, endpoint); var food = fs.GetFoodByUserCode(new FoodMetadataRequest { UserCode = "1" }); |