
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 03:39 AM
Hello All,
I am working on SOAP Webservices using Instance to Instance configuration..
I have a Dev Instance #1 where if i insert i can see that the record is created on Dev Instance #2 but when i am trying to update the existing record system is hitting an error on HTTP status: 500
<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>
Note: I provide the sys_id of existing record which i get it from Dev Instance #2.
Please help me out this, thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 04:24 AM
Hi Abdul Azeez,
Please try this SOAP message and let me know
<short_description>test</short_description>
<state>2</state>
<sys_id>5bc258724f213200ead63ce18110c705</sys_id>
You should not include ${} in the message.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 03:56 AM
Hi Abdul,
Refer to this link you will get some idea how to fix it.
http://wiki.servicenow.com/index.php?title=SOAP_Direct_Web_Service_API#deleteRecord
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inc="http://www.service-now.com/incident"> <soapenv:Header/> <soapenv:Body> <inc:deleteRecord> <sys_id>46e18c0fa9fe19810066a0083f76bd56</sys_id> </inc:deleteRecord> </soapenv:Body></soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inc="http://www.service-now.com/incident">
<soapenv:Header/>
<soapenv:Body>
<inc:deleteRecord>
<sys_id>46e18c0fa9fe19810066a0083f76bd56</sys_id>
</inc:deleteRecord>
</soapenv:Body>
</soapenv:Envelope>
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 04:19 AM
Hi Harish,
Thanks for the response.
As mentioned i given the sys_id & Short description but still i getting an error saying that no sys_id.
<short_description>${testing}</short_description>
<!--Optional:-->
<sla_due>${update.sla_due}</sla_due>
<!--Optional:-->
<state>${update.state}</state>
<!--Optional:-->
<subcategory>${update.subcategory}</subcategory>
<sys_id>${5bc258724f213200ead63ce18110c705}</sys_id>
<!--Optional:-->
Response: Http: 500
<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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 04:24 AM
Hi Abdul Azeez,
Please try this SOAP message and let me know
<short_description>test</short_description>
<state>2</state>
<sys_id>5bc258724f213200ead63ce18110c705</sys_id>
You should not include ${} in the message.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 05:56 AM
Alikutty,
that actually works. thank you;