Creating and Invoking a SOAP API as a CPI Artifact in SAP API Management

Sunday, Oct 13, 2024 4:19 am ET1min read

This tutorial demonstrates the process of creating a SOAP API as a CPI artifact in SAP API Management and calling it through a public calculator service. First, a SOAP API is set up within a package with the "Cloud Integration" runtime profile. The dneonline web service is then integrated into the API through a "Request-Reply" step in the internal integration process. The API is tested with SoapUI, and an API Provider for Cloud Integration (CPI) is created. Finally, an API Proxy is created using the CPI Provider, allowing for seamless integration and communication with external services.

In today's interconnected business landscape, applications and systems often need to communicate with each other seamlessly to ensure efficiency and effectiveness. SAP Cloud Platform Integration (CPI) and SAP API Management are two powerful services that can help businesses achieve this goal by enabling the creation of secure, scalable, and efficient integrations. This tutorial demonstrates the process of creating a SOAP API as a CPI artifact, integrating it with a public calculator service, and exposing it through SAP API Management.

The first step in this process is to set up a SOAP API within a package in SAP API Management using the "Cloud Integration" runtime profile. Once the API is created, the dneonline web service is integrated into the API through a "Request-Reply" step in the internal integration process [1]. This web service provides the functionality required for the calculator service.

The API is then tested using SoapUI, and an API Provider for Cloud Integration (CPI) is created. This abstraction allows SAP API Management to connect to the CPI tenant and discover the available Integration Flows [1]. By doing so, we can easily create a new API for our calculator service and further enhance it with security or traffic management policies.

Finally, an API Proxy is created using the CPI Provider, allowing for seamless integration and communication with external services. This proxy exposes the calculator service to external consumers and ensures that it is accessible via a standardized interface.

By following these steps, businesses can leverage the power of SAP Cloud Platform Integration and SAP API Management to build connected omni-channel experiences, strengthen their integrations with security or traffic management policies, and ensure that their APIs are accessible via standardized interfaces.

References:

[1] SAP. (2021, January). SAP API Management - Discover integration flows from CPI tenants and auto-generate APIs. Retrieved from https://community.sap.com/t5/technology-blogs-by-sap/sap-api-management-discover-integration-flows-from-cpi-tenants-and-auto/ba-p/13441919

Comments



Add a public comment...
No comments

No comments yet