Update soap message function error

geet
Tera Guru

Hi All,

I am using update soap function to update incidents from source to destination but i am getting the below error message while testing it.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>com.glide.processors.soap.SOAPProcessingException: Web service update called without a sys_id, ignored</faultstring><detail>com.glide.processors.soap.SOAPProcessingException: Web service update called without a sys_id, ignored</detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

Kindly help me in resolving it.

Regards,

Shikha Khanna

1 ACCEPTED SOLUTION

Hi Shikha,



Did you try insert function for updating. Generally insert function is preferred to insert/update information.


When the incident number matches it will update the info and if not found it will create a new incident. This holds true when your coalesce field is incident number.


Just try using insert function and also verify the syd ids



Mark Correct if this solves your issue or hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

30 REPLIES 30

JC Moller
Giga Sage

Hi,



You are trying to do a SOAP update operation without the mandatory sys_id for data in question.



How are you doing your updates?



https://docs.servicenow.com/bundle/helsinki-servicenow-platform/page/integrate/web-services-apis/ref...



- Jan


Hi Jan,



I followed the link you gave but it is still not working, giving me the below error.



<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>com.glide.processors.soap.SOAPProcessingException: Web service update called for a missing record: 3378fae0db5a62004c6a76efbf961932</faultstring><detail>com.glide.processors.soap.SOAPProcessingException: Web service update called for a missing record: 3378fae0db5a62004c6a76efbf961932</detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>



Regards,


Shikha Khanna


SysId of the record is incorrect.


I am updating the correct sys_id.



I am not able to understand where the gap is ! Please let me know if i need to share any screenshots and then you can help.