on 2024 Jul 26 2:12 PM
Hello Community,
I am trying to connect to remote OData service via BTP Destination, it is working fine.
But for every change done in SAP CAP application, it requires the deployment of application to BTP.
So i wanted to test it locally connecting to the Remote OData Service but when i try cds watch --profile hybrid it fails the with this error "Error during request to remote service: Failed to load destination. Caused by: Could not find service binding of type 'destination'."
Requesting guidance how to connect to remote odata service from vs code, which reduces turn around time required for deployment to BTP and will be able test it locally in vs code for the changes carried.
You have to bind to destination service. You can either bind to all the services including destination of a deployed application(bookshop-srv) using
cds bind --to-app-services bookshop-srv
or bind to destination service(destination-service-name) independently
cds bind -2 destination-service-name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
11 | |
7 | |
7 | |
6 | |
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.