Creating scripted services

ServiceNow supports both SOAP and REST scripted web services:

  • SOAP scripted web services have two related lists, which contain the input and output parameters. These are used to generate a WSDL with a single method. A single script field determines the processing. In it, the input parameters are represented with a variable called request, while the output parameters with a variable called response.
  • REST scripted APIs are more sophisticated. They support functionality such as versioning and flexible security and can work with information supplied in headers, the body, parameters, and much more-make as many methods as you want! As before, the scripts use the request and response variables. Once created, the REST ...

Get ServiceNow: Building Powerful Workflows now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.