on ‎2023 Jan 09 6:04 PM
Hello Experts,
I am trying to consume ES5 Demo gateway service(Northwind works fine) in a Node Application
Below I have mentioned the details of my application:
SAP CC Details:

Destination in BTP Cockpit:

Node App Details:
default-env.json:

manifest:

index.js:
Getting a Destination token and using that to fetch the destination information correctly

After this using the connectivity service information to fetch the Connectivity service token so that URL request can be made via proxy to the cloud connector destination.

Running locally gives below output :
Getting tokens sucessfully :

Timeout Error when running the app locally:


When running the app in BTP CF:

frank.essenberger1 carlos.roggan
maheshkumar.palavalli
Regards,
Vishnu
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any insights kunjshukla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishnu,
ES5 is a public demo system reachable without the SCC. Are you trying the setup as a workaround for sth else?
When testing locally I need an SSH tunnel when relying on service bindings in CloudFoundry. Have a look here for instance. Shouldn't apply in your case though as your endpoints are Internet-facing I believe.
What does the SCC log say about your request? Did you reach your target?
KR
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That leaves only the path mapping on the SCC. Do you require a wildcard maybe? Did you try /sap/ for the OData subpath for instance? Have a look here to compare.
Well, do you have access to your CF services locally in VSC? I believe you need the already mentioned SSH tunnel. Otherwise you are not reaching your SCC enabled endpoint. Have a look here for instance.
KR
Martin
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.