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.
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
John Andersen
on July 17, 2013 at 11:39 am
@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.
jim
on March 24, 2014 at 10:29 pm
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
John Andersen
on March 25, 2014 at 3:34 pm
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.
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