Inbound REST message via MID Server

Abbey2
Tera Expert

In ServiceNow, i'm aware i can send outbound REST request via a MID Server to resources within my local network.

Is it possible to receive REST messages from local resources to my mid server, rather than pointing the endpoint directly to the instance staging table or scripted endpoint. If yes, how is that achievable, how do i define the mid server endpoint, and how do i process the message once it gets to the instance.

Thanks.

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi Abbey

I'm afraid MID servers cannot be used for incoming requests. But inbound requests from a third-party tool would be secure because they are connected to the ServiceNow instance via SSL.

A MID server is typically used for communication with the customer's infrastructure (outbound), which the ServiceNow instance cannot access directly.

Kind regards 

Maik

View solution in original post

11 REPLIES 11

Maik Skoddow
Tera Patron
Tera Patron

Hi Abbey

I'm afraid MID servers cannot be used for incoming requests. But inbound requests from a third-party tool would be secure because they are connected to the ServiceNow instance via SSL.

A MID server is typically used for communication with the customer's infrastructure (outbound), which the ServiceNow instance cannot access directly.

Kind regards 

Maik

Thanks this is also what i've been able to gather so far. I have a use case where client would want to publish rest messages/events to the mid server via ESB, perhaps there's some outbound restrictions from the originating end to the cloud.

Hi Abbey,

MID server is not an active event listener. All activities are triggered by ServiceNow instance first. If any ESB wants to communicate to ServiceNow it has to do it directly. And I'm wondering why that should not be possible, as the MID server also has been configured to connect to ServiceNow instance.

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.

Hope you would have find solution on this old thread, 

 

Just sharing, that we are using mid to push events via transform scripts, so is doable to push events over api