Previous Topic: Example of a Batch RequestNext Topic: Cancel Request


Modes of Batch Request

The SPML service supports the following modes of batch requests:

Sequential Mode

Performs a JIAM commit for every child request. This mode is the default mode.

Parallel Mode

Performs one JIAM commit only for all the child request. The performance benefit in this mode is to reduce the LDAP calls to the Provisioning Server.

Processing Mode

Controls the child requests in a batch that JIAM commits.

Processing mode is specified as an attribute named as a processing of the <batchRequest> element in the SPML request. For example,

<?xml version="1.0" encoding="UTF-8"?>
<batchRequest processing="urn:oasis:names:tc:SPML:1:0#parallel" xmlns="urn:oasis:names:tc:SPML:1:0" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core">
    <operationalAttributes></operationalAttributes>
    <modifyRequest requestID="cus01">
        <operationalAttributes></operationalAttributes>
        <identifier type="urn:oasis:names:tc:SPML:1:0#DN">
            <id>customFields#00@User=653933,Domain=im,Server=Server</id>
        </identifier>
        <modifications>
            <modification name="value" operation="replace">
                <dsml:value>cus01_value</dsml:value>
            </modification>
        </modifications>
    </modifyRequest>
    <modifyRequest requestID="cus02">
        <operationalAttributes></operationalAttributes>
        <identifier type="urn:oasis:names:tc:SPML:1:0#DN">
            <id>customFields#01@User=653933,Domain=im,Server=Server</id>
        </identifier>
        <modifications>
            <modification name="value" operation="replace">
                <dsml:value>cus02_value</dsml:value>
            </modification>
        </modifications>
    </modifyRequest>
</batchRequest>