cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming External Services in Java using SAP Cloud Application Programming Model ( CAP )

06-01-2020 4:07 AM
gippy_singh Participant
844 views 0 comments
SAP Managed Tags
Subscribe

Hi Devs,

I am trying to consume external service (SuccessFactors) in my CAP Java Project. According to the CAP documentation, it is possible to connect to external service in Node.js using const srv = await cds.connect.to ('some-service'). How can we achieve the similar behavior in Java.

I have tried to utilise SAP Cloud SDK VDM Generator in addition to CAP to consume external service but this approach introduces another issue which is incompatibility of Filter expressions. CAP has CqnSelect class which holds filters and other predicates but SAP Cloud SDK has FilterExpressionHelper<EntityT> class.

Please suggest me the right approach if consuming external services like Node.js is not possible in Java using CAP.

Accepted Solutions (0)

Answers (0)