What is the difference between the inbound and outbound webservice?

viral1
Kilo Contributor

Hi,

can anybody tell me the exact difference between the inbound and outbound web service

and information about MID server. servicenow wiki does not have sufficient information about this.

Thanks,

Regards,

Viral Kondhia

14 REPLIES 14

Kalaiarasan Pus
Giga Sage

Inbound - Receiving Request


Outbound - Sending Response


Mid Server - Acts as interface between SN and a outer network...


viral1
Kilo Contributor

Thanks for your quick reply  


Hello,



What is the difference between Outbound REST message and outbound SOAP message?


Thanks


Saranya


bryanbarnard
ServiceNow Employee
ServiceNow Employee

SOAP Messages and REST Messages records are essentially helper records in ServiceNow that provide a visual interface by which you can configure a message to be sent to a 3rd party Web Service / API. SOAP Messages have functionality specifically geared towards making requests to SOAP Web Services including but not limited to the ability to consume a WSDL and build stub operations based on the 3rd party WSDL. REST Messages provide you with similar functionality but geared towards making calls to RESTful APIs.



You can think of SOAP and REST Messages as message stubs or templates for outbound messages you will be sending from ServiceNow to 3rd party Web Services / APIs. Once you've configured the records you can use them programmatically in script via Business Rules, or any other Server Side Scripting.



It's also important to note that it's not necessary to use SOAP and REST Messages (records) to call 3rd party services you can use the RESTMessageV2 API directly to create your outbound message in script and send it. See example.



Hope that helps.


Thank you very much for detailed explanation Bryan