The web blog strives to be a comprehensive guide to SCCD, TADDM, SERVICE NOW and MAXIMO tools. This is a personal site maintained solely by me. I intend to update it regularly.For live updates please follow us on.

ServiceNow - Web Services

ServiceNow - Web Services

  • Overview
  • Web Services Components
  • Web Services Methods


A Web Service is an HTTP-based communication method that lets diverse applications exchange information and talk to each other. 

  • Inbound Web Services: Inbound web services allow you to access and modify ServiceNow data using a client application.
  • Outbound Web Services: Outbound web services allow you to send SOAP and REST messages to external web service providers. 

Publisher of Web Services (Provider/Producing)
  1. Publishing a web service in ServiceNow that can be consumed by a 3rd party can be accomplished by creating a new Inbound Web Service
  2. Publishes web services for clients to invoke (consume)

Consumer of Web Services (Consuming)
  1. Consuming a 3rd party web service from ServiceNow can be accomplished by creating a new Outbound SOAP Message
  2. Invokes / Consumes published web services.

Web Services Components

Web Services and ServiceNow
A method of communication between two electronic devices over a network

ServiceNow supports both inbound (provider) and outbound (consumer) web services.

Web Services Methods

The ServiceNow system supports access (input and query) to its tables and their data by using these below methods:
  • Direct Web Services (get, insert, query)
  • Web Service import sets that do data mapping using Transform Maps
  • Scripted Web Services that are executed in JavaScript
Direct Web Service: Endpoints are accessed directly using a URL, which is integrated on  the UI level between two or more applications. It directly manipulates the data into the target tables. Therefore, there are many security considerations with this Web Service Method.

URL format: https://<instance name><table_name>.do

Mapped Web Service: All Web Services import sets go through a transform map to match fields.

Scripted Web Services: Helpful when the other system requires a very specific integration that Simple Web Services cannot provide. It parses the information and determines the source.
Example: Servers in locations all over the world are tracked in one CMDB. The MID Server checks the server message queue and uses scripting to determine which location sent the record. If it was San Diego, the update will go to San Diego Servers table.

Note: If we have a large amount of data, Mapped Web Services process data one by one and the cost of transformation is quite high. Scripted Web Services is lower cost and for large amount of data, the better choice.