Overview#Events vs Commands in DirXML are have distinction is subtle but important.
In general, for elements that can be used as either a command or as notification of an event the following applies:
- If the element is being sent to the DirXML Shim (ie Connected Application) then the element is a DirXML command
- If the element is being sent to DirXML Engine then the element is a DirXML event (or notification).
When the DirXML Shim sends an DirXML event to DirXML Engine the DirXML Shim is informing DirXML Engine of something that occurred in the Connected Application. DirXML Engine will then determine, based on configurable DirXML PolicySets/DirXML Rules, which DirXML command, if any, must be sent to the eDirectory.
When DirXML Engine sends a DirXML command to the DirXML Shim, DirXML Engine has already taken an eDirectory DirXML event as input, applied the appropriate DirXML PolicySets/DirXML Rules, and determined that the change in the Connected Application represented by the DirXML command is necessary.