SOAP insertMultipleResponse yields inconsistent results when invoked simultaneously.
Steps to Reproduce
Ensure that the Insert Multiple Web Service plugin is active.
For more information, see the documentation topic Activate a plugin.
Install a SOAP client such as SoapUI and launch it.
Prepare two requests for https://<instance name>.service-now.com/imp_location.do?WSDL under "insertMultiple" and ensure that pre-emptive authentication is set on both requests.
imp_location comes with a base system transform map, but any table with a transform map will work.
REQUEST 01: 200 Records for INSERT
REQUEST 02: 2 Records for INSERT
An example request is as follows:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:imp="http://www.service-now.com/imp_location"> <soapenv:Header/> <soapenv:Body> <imp:insertMultiple> <record> <city>SomeCity</city> <country>SomeCountry</country> <name>SomeName</name> <state>SomeState</state> <street>Some Street</street> <zip>00000</zip> </record></imp:insertMultiple> </soapenv:Body> </soapenv:Envelope>
Execute REQUEST 01.
While REQUEST 01 is still executing and is not complete (very important), at the same time execute REQUEST 02.
Observe that REQUEST 02 completes but the response is empty while REQUEST 01 completes with a good response. Note that REQUEST 01 includes 202 response items.
Try to avoid concurrency between requests.
This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.
Related Problem: PRB733418