Hybrid Integration: Expose a local service to webMethods.io integration

Tech Community - Dec 17 '21 - - Dev Community

Introduction

With more and more companies moving to the cloud, there is increased demand for integration of SaaS offerings using cloud integration platforms. We call this IPaaS, Integration Platform as a Service. Software AGs offering for IPaaS is webmethods.io Integration. But most companies do not start in the cloud by scratch, they still have systems running on premises, in a container environment, or in as cloud platform service (PaaS - Platform as a service). Usually the systems running there are not exposed as a Service or even shall not, because of security reasons. You still need to integrate those system with your new world, and this is where hybrid integration comes into place.

In this article I will show you how to expose a service running in a on premise Integration Server (the Server in the demo will actually be running in a container) to webMethods.io Integration and use it in a cloud hosted flow.

I will break down the proces into 4 parts:

  • Create a user for the local Integration Server
  • Expose the local service to webMethods.io
  • Create an IO Project
  • Create Hybrid Integration Flow

All of the pictures are click to enlarge, si if you want to read the details in the screenshots, just click the thumbnails.

Create a user for the local Integration Server

In order to connect our local integration server to webMethods.io Integration, we need a user in webMethods.io. Go

In the app switche go to My Cloud and then select Administration.

N_CreateUser_001

Click Add user.

N_CreateUser_002

Enter name and a valid e-mail

N_CreateUser_003

Enter a 8unqieu username and make sure to have at least webMethods.io Integration User selected.

N_CreateUser_004

Click Save.

N_CreateUser_005

You will receive an e-mail to update your password.

N_CreateUser_006

Set a secure password.

N_CreateUser_007

Expose the local service to webMethods.io

We are now switching to our local installation. Where local can mean

  • A classical installation of webMethods Integration Server or Microservice Runtime in your datacenter
  • An instance of webMethods Integration Server or Microservice Runtime in your own container platform.
  • An instance of webMethods Integration Server or Microservice Runtime in a cloud hosted container platform.

In this example we have a service on our integration server which accepts a “Payment Advise” and just stores it in a local database (Here shown in the Service Development Perspective of Designer).

A_PublishService_001

Open the Admin UI of Integration Server in a browser. Go to webMethods Cloud - Settings. Enter the username and password of the user you just created. Also enter the web Adress of your webMethods.io tenant (Thats the same URL you use to connect to webMethods.io itself). Save your changes

A_PublishService_002

Go to Accounts. Click Create On-Premise Account. Enter an Alias Name and make sure to set Enable. As this is just a demo, we use Stage Development. Also in this demo, we choose Run As User as Administrator. In a real live environment you may want to use dedicated users for running your local services.

A_PublishService_003

Save your changes and click Return to On-Premise Accounts.

A_PublishService_004

Click the Upload Button.

A_PublishService_005

Go to Applications. Click Define webMethods Cloud Application.

A_PublishService_006

Enter a name for the application. The page displays all custome packages on the local Integration Server. Expand the package with the service you want to expose. Select the service you want to use in webMethods.io Integration. Make sure to only expose well defined services meant for exposure! Click Save Changes and Return to webMethods Cloud Applications.

A_PublishService_007

Click the Upload button. The service is now available in webMethods.io Integration.

A_PublishService_008

Create a webMethods.io Project

We first need to create a project to hold our created services. Go to webMethods.io Integration (USe the app switcher in the upper right corner if you are in antoehr cloud product).

B_CreateIOProject_001

Click the big + to create a new project.

B_CreateIOProject_002

Give it a proper name.

B_CreateIOProject_003

You will get an empty project.

B_CreateIOProject_004

Click the connectors tab and select On-premises. This will show the services exposed by on-premise Integration Servers or Microservice Runtimes to his tenant. The service we exposed in the last step is displayed here. It is not yet used in any project.

B_CreateIOProject_005

Use it in a flow

In any flow service in webMethods.io Integration just insert a new step, select CONNECTORS from the dropdown and scroll down to the On-Premise Connectors. The exposed service is there to use:

H_CreateHybridIntegrationFlow_021

Please read my upcoming article Hybrid B2B Bring the pieces together in order to see how to use the exposes service in a B2B integration (link will follow shortly).

Related articles

Hybrid Integration: Expose a local service to webMethods.io integration:

This one!

B2B as a Service: Connect a Partner via webMethods.io B2B

<img alt="" src="https://sea1.discourse-cdn.com/techcommunity/user_avatar/tech.forums.softwareag.com/martin_wroblinski/40/613_2.png">
<a href="https://tech.forums.softwareag.com/t/b2b-as-a-service-connect-a-partner-via-webmethods-io-b2b/253904">B2B as a Service: Connect a Partner via webMethods.io B2B</a> <a href="https://tech.forums.softwareag.com/c/knowledge-base/6"><span></span><span title="Browse through our vast Knowledge base of tutorials, articles, code samples, tips and tricks.">Knowledge base</span></a>
Enter fullscreen mode Exit fullscreen mode

Introduction
As more and more system and platform are moving to the cloud, so is B2B (Business to Business). With webmethods.io B2B we offer our proven B2B platform as a Service in the cloud, providing capabilities like Partner Management and Onboarding, Document Definition, powerful processing rules and End to End Monitoring. webmethods.io B2B comes with complete sets of predefined documents for standard like EDI and RosettaNet, but you can also define your own document types.
In this artic…

Hybrid B2B Bring the pieces together - integrate webMethods.io B2B with webMethods.io Integration

Link coming shortly.

Check out the original post

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .