The following is a very quick demonstration of using the free SOAP-UI client to access direct web services on a ServiceNow table.
About The Author
John Andersen
John is the Co-Founder of Yansa Labs (www.YansaLabs.com). John founded Yansa Labs as a company dedicated to building innovative solutions on the ServiceNow platform. He is a major contributor to the ServiceNow ecosystem. John served as the platform and integration architect at the company for several years.
Hi John
I have completed exactly the same example as you shown in this video (Direct Web Service with soapUI). I am using my own demo instance and I am using admin credentials. The WSDL produces all the functions against Incident and I did a basic getKeys request with admin credentials with 0 records returned.
Do I need to set up system properties and ACL for the admin acount to get this demo to work?
Many thanks in advance.
Darren
@Darren…If you are authenticating with Admin credentials, then you should have the proper rights to see everything from that query. You probably have an issue with the XML in the SOAP query. One thing that trips some people up is that boolean values should be 1 and 0, not true and false. So,true will probably return 0 results where 1 will return results. THat might be something to check out.
Hi John,
I get this following error when trying to load the WDSL in Soap UI. Any idea?
Error loading [https://xxx.service-now.com/incident.do?WSDL]: org.apache.xmlbeans.XmlException: java.io.IOException: Server returned HTTP response code: 401 for URL: https://xxx.service-now.com/incident.do?WSD
If you are using SOAPUi version 4.6.4, there is a bug with that tool that prevents you from consuming an authenticated WSDL url. There is a maintenance build offered on Atlassian’s website with the fix. I imagine the next official version of SoapUI will have the fix as well.
thank you very much