In this article, I would brief on connecting on-premise service(API/WCF service) using On-Premise Data Gateway.
Lets install and configure on-premise data gateway.
Configure the data gateway with your account id (must be domain user)As shown below, configure the the gateway in appropriate location and provide the recovery key.
Post configuring the gateway in the on-premise system, lets connect to the Azure Portal and map the on-premise gateway with the Azure Gateway, as shown below. Make sure to choose the same region/location of on-premise gateway.
Now lets, create custom logic app connector.
Lets edit the custom connector and configure the on-premise service(for our eg we choose WebAPI) using swagger for API or WSDL for SOAP services.
Here we would connect to on-premise API, lets fill in the general information and enable the connectivity using on-premise data gateway as shown below
On the security tab, lets choose No Authentication to keep it simple and on the definition tab, configure each operations available on the API, which are available as part of Actions [Action Methods], finally update the connector. Now using this connector, we would be able to connect to on-premise services.
Lets create and connect to on-premise service using custom connector. Here, we will develop simple request response logic which would pull all the products information thru the on-premise API Service.
Lets add an action and choose custom connector and select relevant operation as shown below
Now, lets add a response and configure the response with the output body of custom connector.
Test and verify the logic app.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.