按照 Apache Lingo 教程中概述的步骤创建了示例 OData 服务。 客户收到的默认服务文件是:
"name" : "Products", "url" : "Products"
我的要求是在服务文档中提供实体集合url,如下
"name" : "Products", "url" : "http://localhost:8080/DemoService/DemoService.svc/Products"
找不到为实体提供完整网址的选项。