cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Send SOAP Requests in SAP CAP: S/4HANA Cloud WSDLs vs. External SOAP Services

rumeysaturgut
Discoverer
0 Kudos
464

Hello,

I am working on a project using the SAP Cloud Application Programming (CAP) model and I need to integrate SOAP-based services. I understand that there are two main ways to send SOAP requests in SAP CAP:

  1. Using SOAP WSDLs from S/4HANA Cloud: I know that S/4HANA Cloud provides SOAP WSDLs for various services, but I need more details on how to set up and consume these services within a CAP project. What are the best practices for integrating these WSDLs? Are there any specific configurations or libraries I should be aware of?

  2. Consuming External SOAP Services: Apart from S/4HANA Cloud, I also need to consume external SOAP services. What are the key differences and additional considerations when integrating external SOAP services into a CAP project? Are there any particular challenges or recommended tools for this?

I am looking for detailed guidance, including code snippets, configuration steps, and any potential pitfalls to avoid. Any examples or documentation would be greatly appreciated.

Thank you for your help in advance!

View Entire Topic
Trulov
Participant

Hi @rumeysaturgut ,

There is an excellent Blogpost from @ale_biagi about the implementation details for integrating SOAP Services in your CAP application.

Afaik from this point on there is no real difference between S/4HANA Cloud and other 3rd party services, as from CAP point of view both are external services. You can also connect 3rd party services via BTP Destinations, for example. So you can connect them both the same way.

BR
Tom

rumeysaturgut
Discoverer
0 Kudos
Hi. Thank you for your answer. But when I searched about it, that tutorial was the first thing I found. So I already know about it. If you have more information or knowledge, I would like to hear from you. Thanks in advance!