Using direct web services

SoapUI is a great tool to test out web services in ServiceNow. It reads the WSDL, generates sample messages, and lets you send them to the instance in only a few clicks. SoapUI is open source and available for Windows, OS X, and Linux:

https://www.soapui.org/downloads/latest-release.html

Let's use SoapUI to get a list of Maintenance tasks. Follow these instructions to see how.

  1. Launch the program, and create a new SOAP project using the File menu.
  2. In the dialog, use https://<instance>.service-now.com/x_hotel_maintenance_list.do?WSDL as the Initial WSDL. When you click OK, a a series of sample requests will be automatically generated, one for each method.
  1. Expand getRecords and double-click on Request 1:
  1. The request ...

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.