Perform Batch SOAP Operations

You can perform batch SOAP operations to create or update large volumes of data in a single SOAP call. To perform batch actions, you must include multiple sets of entity in the SOAP request payload.

You must ensure that you don’t have unmanageable number of entities in your request for smooth processing. Also, ensure that you have error handling and post-processing data validation in place that can manage multiple entities. You might encounter timeout issues or data conflicts when processing large number records in a single SOAP call.

Below is a sample request payload for creating multiple sales accounts using a single SOAP call:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/types/" xmlns:acc="http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/" xmlns:com="http://xmlns.oracle.com/apps/crmCommon/salesParties/commonService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/" xmlns:org="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/" xmlns:sal="http://xmlns.oracle.com/apps/crmCommon/salesParties/salesPartiesService/">
<soapenv:Header/>
        <soapenv:Body>
                <typ:createAccount>
                <typ:account>
                        <acc:OrganizationName>Pinnacle Flowers</acc:OrganizationName>
                        <acc:Type>ZCA_CUSTOMER</acc:Type>
                        <acc:CreatedByModule>HZ_WS</acc:CreatedByModule>
                        <acc:PhoneCountryCode>1</acc:PhoneCountryCode>
                        <acc:PhoneAreaCode>650</acc:PhoneAreaCode>
                        <acc:PhoneNumber>8881111</acc:PhoneNumber>
                        <acc:PhoneExtension>123</acc:PhoneExtension>
                        <acc:PrimaryAddress>
                                <com:AddressLine1>Strada xpto</com:AddressLine1>
                                <com:City>Bucharest</com:City>
                                <com:Country>RO</com:Country>
                        </acc:PrimaryAddress>
                </typ:account>
                </typ:createAccount>
                <typ:createAccount>
                <typ:account>
                        <acc:OrganizationName>Vision Corp</acc:OrganizationName>
                        <acc:Type>ZCA_CUSTOMER</acc:Type>
                        <acc:CreatedByModule>HZ_WS</acc:CreatedByModule>
                        <acc:PhoneCountryCode>1</acc:PhoneCountryCode>
                        <acc:PhoneAreaCode>650</acc:PhoneAreaCode>
                        <acc:PhoneNumber>93934111</acc:PhoneNumber>
                        <acc:PhoneExtension>1434</acc:PhoneExtension>
                        <acc:PrimaryAddress>
                                <com:AddressLine1>Boulevard Drive</com:AddressLine1>
                                <com:City>San Francisco</com:City>
                                <com:Country>US</com:Country>
                        </acc:PrimaryAddress>
                </typ:account>
                </typ:createAccount>
        </soapenv:Body>
</soapenv:Envelope>