1 Before you start
The SoftwareCentral web services can be called from ServiceNow with SOAP or REST.
To call a web service in SoftwareCentral from ServiceNow, you need a site that can be called from the web. In this example we have set up an HTTPS site that uses Basic Authentication. See Configure Anonymous or Basic Authentication.
2 Set up the endpoint
Here we configure a web service in ServiceNow that clones a computer. The endpoint is the web service, with the publicly available
address. We turn on Use basic authentication and use an Active Directory account we have named
SWC_ServiceNowAccount. The account is a member of a security role with access to the web service and to some computers.
3 Add the parameters
Our Devices - Clone Computer web service has these parameters:
We then add the parameters in ServiceNow, as the query parameters of the HTTP method, and as variable substitutions:
4 Test it and use it in a script
We can now test the web service from ServiceNow with our test values:
And view an example of how to use it in a ServiceNow script with Preview Script Usage: