Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
ShilpaVij
Advisor
Advisor
This blog is the Part 3 of the 5-part blog-series. In this blog, we will introduce SOAP Interfaces which are exposed from SAP Process Orchestration (from 7.40 onwards) (SAP PO) can be exposed as Open APIs and managed through SAP Cloud Platform, API Management. Here with this blog you will be able to connect SAP Cloud Platform, API Management to your backend (SAP PO System) using cloud connector and will be able to manage SOAP Endpoints exposed in SAP PO

With SAP Process Orchestration 7.5 SP00 you can now deploy and run the cloud integration content also on SAP Process Orchestration benefiting from the investment that we do on HCI.

For more details refer

OR

Lecture session INT202








Cloud Connector Overview








The SAP Cloud Platform cloud connector (cloud connector) serves as the link between on-demand applications in SAP Cloud Platform and existing on premise systems. The cloud connector runs as on premise agent in a secured network and acts as a reverse invoke proxy between the on-premise network and SAP Cloud Platform. Due to its reverse invoke support, you don't need to configure the on-premise firewall to allow external access from the cloud to internal systems

To know more on SAP Cloud Platform, SAP API Management refer

In this blog I have taken an example of my (******) hanatrial account for SAP Cloud Platform, API Management, N75 as a backend(PO) system and an internal tenant for HCI Content.

Pre-requisites

  • You have access to N75 or any of the PO system

  • IFLOW with Soap end point should be available on HCI tenant




Let’s get started!

For Downloading and configuring cloud connector refer

https://blogs.sap.com/2015/02/11/set-up-your-sap-web-ide-on-hana-cloud-part-2/

Type https://localhost:**** on your browser following screen should come up



Enter User name and password to login as Admin

Click on Add Account to add an account



Fill in the appropriate details as shown below for your account

Here for SAP Cloud Platform, API Management I have taken example of my hanatrial account



Under Account Dashboard; Account should be added

As I have added my hanatrial account as host so my hanatrial account should be added as shown below



Now we will be adding the On Prem system for eg N75 (PO system)

Click on Cloud To On-Premise



Add Backend System as SAP Process Integration and Click Next



Select Protocol as HTTP and click Next

Add host and port of Backend System and click Next

In Virtual Host and port don’t put the same name and port as above



Select Principle Type as None and Click Next

Check the summary, select internal host checkbox and select Finish

System should get added

Click on Add button under Resources Accessible to add url path as”/” this is to consider all the resources after “/”



With this we have configured our backend system and now we will check in SAP Cloud Platform, API Management whether we can access SOAP services from PO system

Let’s take one step back and deploy IFLOW from HCI tenant in PO system

Log-on to N75 system and click on Deploy, fill in the details and click Next



Now the IFLOW with SOAP End point should be available in PO system and should be in started state

Click on the IFLOW and say View End points



Copy the SOAP Endpoint URL as we will be using the same SOAP endpoint in API Management

For More Details Refer Documentation

Let’s start Managing SOAP Endpoints from SAP Cloud Platform, API Management!

Open SAP Cloud Platform Cockpit from where I can see under Connectivity – Cloud Connectors the successful connection to the on-prem system.



That’s All you need now let’s go to API Portal ->Services->click on API Management Tile->click on Access API Portal.



Click on Develop and Navigate to API Providers

Create API Provider and fill in the following details



Navigate to Authentication and give backend system details



In my case I am connecting to N75 PO system and catalog service settings look like this



To test the new connectivity, just create a new API Proxy. Give API Provider as “PISYS” and give URL(which we have copied above from PO system) for eg
/igwcxf/services/Endpoint_sample

and Save it.

Navigate to Test and click on the API provide Basic Authorization



Post a request by giving payload in Body and a response 200 OK should come



Let’s Manage our SOAP Endpoint!

Now I want to prevent unauthorized access to our API hence would enforce verification of the application key in order to access SOAP Endpoint.

Refer https://blogs.sap.com/2016/06/23/part-9-assigning-policies-to-an-api-proxy/

Section “Checking for an API Key”
1 Comment