Soap Response Logging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2017 11:11 AM
External web services makes a SOAP call into our instance to create an incident. We send a SOAP response back. I can't seem to find this outbound SOAP response logged anywhere. And where is this response formatted/created? Since it's a seemingly out of the box incident SOAP response, do we not have access to it? Is this a scripted web service not visible to admins?
Thanks!
Chris
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2017 01:40 AM
Hi Chris,
I suppose your web service transaction was completed successfully — hence it's successful from that point of view.
The fact that your script generated an error message and returned that message doesn't mean that the web service call was not successful.
I've been working with an ootb web service on the ecc_queue table and a field has definitely been added to the table and the WS response:
PS. I replaced the customer name by XYZ.
This suggests it should be possible to add fields to the response of an ooth web service — I just don't know how.
Thanks and best regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2017 02:27 AM
Hi
If you configure below property
glide.processor.debug.SOAPProcessor to value true
in sys_properties, system will start printing soap inbound and outbound XMLs to system logs.
You can access logs and even download the local host log file from web.
Vab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2017 08:07 AM
I turn that on by default after a clone in lower instances.
I finally figured it out. I run the glidecart api on an onBefore script instead of onStart. At the end of the script, I just add my response.xyz = '' messages, and they show up correctly. I'm using the sc_cart_item as the target table, but no mapping occurs. Only the onBefore script runs that generates a new cart with a corresponding item that generates req and ritm. The SOAP response logs the REQ number with rc.number and rc.sys_id.
Thanks for your help all!