// GET api/values public ProductService.Product GetProduct(int id) { ProductService.ProductServiceClient client = new ProductService.ProductServiceClient(); ProductService.Product p = client.GetProductDetails(id); return(p); }