on 2024 Jun 07 5:31 PM
I am building CAP app that fetches the data from remote HDI container. I need oData V2 services to use them in MDK app. CAP provides only oData V4 which I tried to convert to V2 with different adapters (like @cap-js-community/odata-v2-adapter, @sap/cds-odata-v2-adapter-proxy, @sap/cds-odata-v2-adapter-proxy ) but with all of them I am facing the same issue. The CAP app is deployed in Cloud Foundry.
The problem is: the call to the service many times works and many doesn't, it seams like very unstable, it gives me error like 'Service not available: objects' or '500 Internal Server Error' or 'Not Found". There is no pattern when it works and when it doesn't, but very often it doesn't. I am not excluding the fact that maybe between the data source and the CAP app is the problem, but if I try to open the data in the database explorer it always works fine. Any help or thoughts are very appreciated.
Thank you!
Why not just use OData V4? MDK works with V4 as well as V2 in offline and online mode. If there is something specific with V4 that isn't working please let us know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
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.