Jump to content

Flogo Activity REST Service getting connection error when same request in Postman is successful


Recommended Posts

I am developing an Integration in Flogo which calls a REST API. I am using the REST Service Activity, POST in "text/plain" with the body of the request containing XML. The API I am calling is not RESTful, it is a legacy API. The URL for the API is simply the IP Address + colon + port. There are no path parameters or query parameters. When I test in Flogo, the REST Activity tries to execute, but can't connect. It is connecting to a Windows Service over HTTP. However, I can make this same call from the Postman Application, and receive the expected response. I tested the REST Service Activity with another API that is RESTful, and it works fine.
Link to comment
Share on other sites

I opened a Case for this, so thought I would share the solution.

 

This turned out to be due to the fact that the REST API resides in an onprem server, and we do not have the Hybrid Agent installed.  You can't connect to onprem resources from Flogo without the hybrid agent.  Scribe/Connect uses a different type of Agent.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...