I am trying to consume Northwind R/W OData service link: https://services.odata.org/V3/OData/OData.svc/
.
It is working fine on local testing. But without using proxy or mock server, the service reports the following error:
NetworkError: 501 Not Implemented
Controller code:
// ODataModel required from "sap/ui/model/odata/v2/ODataModel"
var oModel = new ODataModel({
serviceUrl: "https://services.odata.org/V3/OData/OData.svc/",
headers: {
DataServiceVersion: "3.0",
MaxDataServiceVersion: "3.0"
}
});
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…