How to integrate an Internal Application -> MID Server -> ServiceNow

marcelo_moreli
Mega Guru

Facts:

1 - I have an Application (JIRA) that has NO ACCESS to internet nor ServiceNow instance. But it has access to the host where the MID Server is.

2 - The MID Server has access to ServiceNow (as every MID Server)

 

Communication should be: Application -> MID Server -> ServiceNow.

 

How can I make a request from the Internal Application to ServiceNow using MID Server? Something like using the REST API that ServiceNow provides, but using MID Server to do that? Is it possible?

 

Thanks,

6 REPLIES 6

adiddigi
Tera Guru

I'm not aware of JIRA calling Service Now's REST/SOAP messages, but I know of two ways to do this:



a) You can either expose a REST/SOAP message from JIRA and let Service Now consume it, by using the "Use MID Server" check box on the SOAP Message page. I'm assuming both MID Server and JIRA can talk to each other.



b) Export a file from JIRA, put it on MID Server and configure Service Now to read it.



Thanks,


Abhiram


marcelo_moreli
Mega Guru

Hi Abhiram,



For the ServiceNow -> MID Server -> Application(JIRA) , no problem, that can be easily handled.



For the Application (JIRA, but please consider any application that is able to do HTTP [rest, soap] calls) -> MID Server -> ServiceNow, we have the problem. I expect that to be real-time, since the MID Server should know already when to communicate with ServiceNow.



Do we have any mechanism on the MID Server to redirect a call to ServiceNow instance?


As far as my knowledge goes, this is not easy. Though theoretically it should be possible.



Is MID Server that's there on your network have access to Service Now IP? That is, is your firewall that borders this MID Server configured so that it can send requests to Service Now instance ( There is lot of stuff like opening ports on your firewall only for the IPs of Service Now).



Now if the ports are opened, on the Server on which MID Server (Which is again just a process), then you should be write a Shell/bash script to invoke a Python/.net/Java Snippet that calls the REST Webservice of Service Now.



Again, I've not tried this. But this looks exciting that I want to give it a shot.


Hi Abhiram,



The MID Server has access with ServiceNow IP (It's mandatory for all MID Servers).



I completely agree with you that building up some custom "Application" in Shell/bash/java/php on the same server that hosts the MID Server should work, but I expected something without need of any development of a adapter, something that MID Server application would be capable of doing itself. But unfortunately I guess that is not possible