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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.