Skip to Content
Technical Articles

Cloud Integration – How to Connect to an On-Premise REST/HTTP application via Cloud Connector

Introduction

This short article aims at showing how to quickly test the connection from Cloud Integration (HCI) to a RESTful(HTTP) on-premise application. This is to provide a practical example to easily get the idea laying behind the Cloud To On-Premise configuration.

In this example, SCC is installed on my local machine and the on-premise application is a SoapUI mock http service.

 

Prerequisites

Real case Test case (described below)
SCC installed on your server in DMZ (for details see this web page) SCC installed on your local machine
On-Premise RESTful application providing WS SoapUI installed on your local machine

Configuration steps

Configure On-Premise App (here a SoapUI mock service)

Create an empty project
Right click on the new project, New Rest Mock Service
Right click on the service, Add new mock action
Right click on the action, New MockResponse: just add what you want your application to return
Double click on the Project, start the service

 

Configure SCC

Go to Cloud To On-Premise section.

Add a new Mapping Virtual To Internal System
Non-SAP System
HTTP protocol
Insert the internal host: remember we’re using our local machine for this test so we use the port defined in SoapUI
Insert a name for the virtual host which will be used in HCI Request/Reply channel configuration
No authentication
Use Virtual Host
Recap and Finish
Check the availability
Add resources (right below your virtual host), Save
Result

 

Configure HCI

The iFlow is called via http and it’s very simple:

  • Gets called by a 3rd party application (below a web browser)
  • Calls the on-premise application
  • Maps the response back to the caller

 

 

 

 

 

 

 

 

 

In the HTTP connection, indicate the virtual host and set Proxy Type ‘On-Premise’.

 

Test

Call the iFlow url with your browser: this will call HCI which will connect to the on-premise app via SCC. Check the result.

In SoapUI check the call log.

Thanks for reading.

Be the first to leave a comment
You must be Logged on to comment or reply to a post.