
- 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 06:00 AM
Glad it worked. The system will not recognize sys_id's with ${}.
Can you please mark my answer as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
https://community.servicenow.com/docs/DOC-5601
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 06:07 AM
I did it. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 04:26 AM
Hi Abdul,
in 1st instance check the record is available or not. If it is exists then,
check the same record exists in 2nd instance or not.
If the record exists in both the instances then compare the SYS ID, whether it is matching or not.
if it is saying that No sys id, then definitely that record might not be there in the instance.
thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 05:58 AM
Harish,
I tried removing $<> and it works. Thanks for your info.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 06:24 AM
Alikutty,
When i am trying for Change Management table trying to insert a new record i am getting a following 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: Insufficient rights for creating new records</faultstring><detail>com.glide.processors.soap.SOAPProcessingException: Insufficient rights for creating new records</detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
Any idea ?