Debugging web services in ServiceNow

venkata_koya
ServiceNow Employee
ServiceNow Employee

During development of integrations, it is frustrating to see your web service request is failing for reasons unknown. You would like to see what is going under wraps to get better idea of whats going on. ServiceNow provides different flavors of web services (inbound, outbound)(REST,SOAP).

How do we know what is going on with my request. how are headers coming through. what is the request body like and what are responses generated.

Are there any limitations

14 REPLIES 14

thank you Venkt.how to turn on these properties ? same system logs ? Also how to ensure that the response object sends the incident number   to the external system that made the soap inbound webserivce request?


Hi Craig,



Debugging incoming SOAP envelope


WS-Security error logging



Add a property



Yes - Same system logs.



Best Regards



Tony


->Also how to ensure that the response object sends the incident number   to the external system that made the soap inbound webserivce request?


If you use a Web Service Import Set - the incident number will be returned


@Tony as per the documentation the messages are not showing for incoming soap envelope in the system log. ?


To debug outbound http requests in Istanbul checkout the new outbound request logging.


Outbound Web Services Logging in Detail