The following batch request executes these SPML operations in this order:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <batchRequest execution="urn:oasis:names:tc:SPML:1:0#synchronous" onError="urn:oasis:names:tc:SPML:1:0#resume" processing="urn:oasis:names:tc:SPML:1:0#sequential" xmlns="urn:oasis:names:tc:SPML:1:0" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core"> <addRequest requestID="batchAdd"> <identifier type="urn:oasis:names:tc:SPML:1:0#DN"> <id>User=_spml_user,Domain=EXAMPLE_DOMAIN,Server=Server</id> </identifier> <attributes> <attr name="accountId"> <dsml:value>_spml_user</dsml:value> </attr> </attributes> </addRequest>
<modifyRequest requestID="batchModify"> <identifier type="urn:oasis:names:tc:SPML:1:0#DN"> <id>User=_spml_user,Domain=EXAMPLE_DOMAIN,Server=Server</id> </identifier> <modifications> <modification name="comments" operation="replace"> <dsml:value>new comments</dsml:value> </modification> </modifications> </modifyRequest> <deleteRequest requestID="batchDelete"> <identifier type="urn:oasis:names:tc:SPML:1:0#DN"> <id>User=_spml_user,Domain=EXAMPLE_DOMAIN,Server=Server</id> </identifier> </deleteRequest>
<extendedRequest requestID="batchExtended"> <providerIdentifier providerIDType="urn:oasis:names:tc:SPML:1:0#URN"> <providerID>urn:ca.com:etrust:iam</providerID> </providerIdentifier> <operationIdentifier operationIDType="urn:oasis:names:tc:SPML:1:0#GenericString"> <operationID>User-CheckSync</operationID> </operationIdentifier> <attributes> <attr name="IAMUser"> <dsml:value>User=administrator,Domain=EXAMPLE_DOMAIN,Server=Server</dsml:value> </attr> </attributes> </extendedRequest> </batchRequest>
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |