I am trying to invoke create method from SOAP API(Enterprise wsdl) from SOAPUI tool with the below request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com" xmlns:urn1="urn:sobject.enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <urn:SessionHeader> <urn:sessionId><SessionId></urn:sessionId> </urn:SessionHeader> <urn:AllOrNoneHeader> <urn:allOrNone>false</urn:allOrNone> </urn:AllOrNoneHeader> </soapenv:Header> <soapenv:Body> <urn:create> <urn:sObject xsi:type="CustomObject__c"> <Open_Volume__c>2222</Open_Volume__c> </urn:sObject> <urn:sObject xsi:type="CustomObject__c"> <Open_Volume__c>abc</Open_Volume__c> </urn:sObject> </urn:create> </soapenv:Body> </soapenv:Envelope> and the response is: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Client</faultcode> <faultstring>'abc' is not valid for the type xsd:double</faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>
Open_Volume__c is a Number type field in CustomObject__c. I am trying to insert two CustomObject__c records, one with valid Open_Volume__c as 2222 and the other with invalid Open_Volume__c as abc. As AllOrNoneHeader header is set to false, I though first record whose Open_Volume__c is 2222 gets inserted successfully and it would give error for the second record but actually no record is inserted. Is there any possibility to make valid records to insert successfully in these type of situations?