Skip to Content
0
Nov 21, 2018 at 06:50 AM

xsodata from UI5 APP in XSA is not getting consumed

241 Views Last edit May 21, 2020 at 05:37 PM 4 rev

I was trying to consume the XSodata from node.js to the UI5 app.

1) I have made the url as Provide in node.js and require in UI5 app in the yaml file.

2) INside the xs-app.json in ui5 app. in the route section I configured the source and destination

3) I create odata model

4) when the $metadata is failing as it is not picking the correct url exposed via XSODATA. I am trying the same as in the hana academy video but it is failing to take the correct url.

It should have taken me this url= "https://mpcev9y4gaphg5bx-tinyworld-tinyjs.cfapps.eu10.hana.ondemand.com/euro.xsodata/$metadata" but instead it is calling metadata with "https://webidetesting2984410-p2000930516trial.dispatcher.hanatrial.ondemand.com/euro.xsodata/$metadata" . It is not respecting the config in xs-app.json

Please advice if this is an issue or any other config also is required.

Regards,

Prince Joel

Attachments

yaml.png (14.0 kB)
route.png (11.1 kB)
path.png (5.6 kB)
metadata.png (81.5 kB)