on 2018 Jul 26 4:16 PM
Hi Experts,
Am not sure of the error .
Context : Am trying to execute an On-Prem OData Service. SCP is connected to ECC system via Cloud Connector .
XshttpDest Code:
host = "10.120.28.210";
port = 8000;
useSSL = false;
pathPrefix = "/sap/opu/odata/sap/EHS_INC_REPORTINCIDENT_SRV";
useProxy = true;
proxyHost = "localhost";
proxyPort = 20003;
timeout = 3000;
XSJS Code :
$.response.contentType = "text/html";
var dest = $.net.http.readDestination("Test_XSJS.OdataFromXSJS","gateway");
var client = new $.net.http.Client();
var req = new $.web.WebRequest($.net.http.GET, "/Locations?$format=json");
client.request(req, dest);
var response = client.getResponse().body.asString();
$.response.setBody(response);
While Executing Getting Error
Access denied to system 10.120.28.210:8000. In case this was a valid request, ensure to expose the system correctly in your cloud connector.
Already Configured Basis Authentication of ECC system in the XS Admin Tool for xshttpdest file.
Please help me.
Thanks and Regards,
Aisurya
According to the documentation at Connectivity for SAP HANA XS (Enterprise Version) your destination configuration looks correct for a On-Prem Destination. If you still have the issue I would suggest to open an incident in the SAP Service Marketplace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately the documentation which proxies need to be configured in HANA XSC on SCP are currently not available. But instead of localhost please try:
proxyHost = "proxy";
proxyPort = 8080;
and:
proxyHost = "proxy-trial";
proxyPort = 8080;
for SCP Trial (https://github.com/gregorwolf/XSauthLevelPoC/blob/master/odatapublic/google.xshttpdest)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked the cloud connector audit logs to see if there is any details there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you configured a HTTP destination to your on-prem system in the SCP Cockpit? Does this destination use the IP 10.120.28.210?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
11 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.