How to fix the SOAP end point for update

Kishore8
Kilo Guru

Should i have to change SOAPendpoint in update form?????????

This is for insert

find_real_file.png

This is for update

find_real_file.png

Should i have to change SOAPendpoint in update form?????????

12 REPLIES 12

martygrinstead
ServiceNow Employee
ServiceNow Employee

Hi Kishore,



No, the endpoint is the same for all SOAP operations defined in the WSDL.



The payload that you provide in your request will figure out which code to execute, and then either insert or update (based on the operation you select from the WSDL).



Did you encounter any unexpected actions when you tried to perform an update, or are you just concerned that you may need to make a change?



Thanks,


Marty


Hi,




So SOAP endpoint   URL is comman for all activities  


so then how to update the records in SOAP


The SOAP WSDL for a table in ServiceNow provides the following operations (the "Multiple" operations may not be present in your WSLD, depending on plugins):



deleteMultiple


deleteRecord


get


getKeys


getRecords


insert


insertMultiple


update



These are the SOAP Messages that should have been created.


Based on your screen shot, I see that you have an "update" function.



At this point, you are ready to put values in the XML elements that you want to be updated in the incident.



Notice that the SYS_ID element is not optional.


This is the way we find the correct record to update, then we put all of the other values in that record.



Is this the information you were looking for?



Marty


Hi,



I have given incident sys_id and short_description ...but error raised..


can you please help on this.




find_real_file.png