Skip to Content
0
Jan 08, 2018 at 11:31 AM

Unable to Consume northwind ODATA service in WEBIDE

1125 Views Last edit Jan 09, 2018 at 07:54 AM 4 rev

Hi Experts,

I am new to WEBIDE, I am trying to consume northwind odata services, but so far I have been unsuccessful. Please see my code & help.

connection test on destination also was successful. but still I am getting error: /V3/Northwind/Northwind.svc/$metadata", statusCode: 404, statusText: "Not Found", headers: Array(0), body: "The resource you are looking for has been removed,… its name changed, or is temporarily unavailable."} responseText:"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

  1. statusCode:404
  2. statusText:"Not Found"
  3. __proto__:Object

neo-app.json:

{
      "path": "/destinations/northwind",
      "target": {
        "type": "destination",
        "name": "northwind"
      },
      "description": "Northwind OData Service"
}

manifest.json:

	"sap.app": {
		"id": "Mod3Act3",
		"type": "application",
		"i18n": "i18n/i18n.properties",
		"title": "{{appTitle}}",
		"description": "{{appDescription}}",
		"applicationVersion": {
			"version": "1.0.0"
		},
		"dataSources": {
			"northwind": {
				"uri": "/V3/Northwind/Northwind.svc/",
				"type": "OData",
				"settings": {
					"odataVersion": "2.0"
				}
			}
		}
	},

	"sap.ui5": {
		"rootView": {
			"viewName": "Mod3Act3.view.Main",
			"type": "XML"
		},
		"dependencies": {
			"minUI5Version": "1.30.0",
			"libs": {
				"sap.ui.core": {},
				"sap.m": {},
				"sap.ui.layout": {},
				"sap.ushell": {},
				"sap.collaboration": {},
				"sap.ui.comp": {},
				"sap.uxap": {}
			}
		},
		"contentDensities": {
			"compact": true,
			"cozy": true
		},
		"models": {
			"": {
				"dataSource": "northwind"
			}
		},
		"resources": {
			"css": [{
				"uri": "css/style.css"
			}]
		}
	}


Attachments

destination.png (13.0 kB)