Hi,
I tried to get Data from Northwind odata service using Outbound Connectivity
This is products.xshttpdest
host = "services.odata.org"; port = 80; description = "Sample outbound connection"; useSSL = false; pathPrefix = "/northwind/northwind.svc/Products"; authType = none; useProxy = false; proxyHost = ""; proxyPort = 0; timeout = 0;
And below code is for readData.xsjs
var dest = $.net.http.readDestination("package", "products");
var client = new $.net.http.Client();
var req = new $.web.WebRequest($.net.http.GET, "");
client.request(req, dest);
var response = client.getResponse();I am getting Internal Server error at line 04 in the readData.xsjs file.
Please suggest a solution
Is there any permission or settings required to enable client.request.
Thanks,
Vijay