2 weeks ago
Hello all,
I have two capm services serviceA and serviceB in two different capm projects. I need to call serviceB in serviceA and these two services are deployed in SAP BTP.
Is there a way to communicate and send data from serviceA to serviceB?
Any help is appreciated?
Thank you.
You can find how to consume external services from CAP application in the document below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @MioYasutake
Thank you for your response.
Will it work from two CAPM services in two different CAM projects?
Should I use destinations or cds.connect(). Please clarify.
@VenkyMIf you want to call serviceB from serviceA, please follow below steps:
"cds": {
"requires": {
"ServiceB": {
"kind": "odata",
"model": "srv/external/ServiceB",
"[production]": {
"credentials": {
"destination": "<destination for serviceB>",
"path": "/path/to/ServiceB"
}
}
}
}
}
User | Count |
---|---|
70 | |
9 | |
8 | |
8 | |
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.