Sun Identity Manager 8.1 Web Services

TaskDefinition: SPMLRequest Object

The spml.xml file also includes a brief definition for a new system task named SpmlRequest. You can use this task to implement asynchronous SPML requests. When the server receives an asynchronous request, it launches a new instance of this task and passes the SPML message as an input variable for the task. The server then returns the task instance repository ID in the SPML response for later status requests. For example:


<TaskDefinition name=’SPMLRequest’
   executor=’com.waveset.rpc.SpmlExecutor’
   execMode=’asyncImmediate’
   resultLimit=’86400’>
</TaskDefinition>

Do not change the definition name, the executor name, or the execution mode. You can change the resultLimit value. When asynchronous requests have completed, the system typically retains the result value for a specified time so the client can issue an SPML status request to obtain the results. How long to retain these results is site-specific.

Use a positive resultLimit value to specify how long (in seconds) the system can retain results after completing a task. The default value for SPMLRequest is typically 3600 seconds or approximately one hour. Other tasks default to 0 seconds unless you change the task name to a different value.

If negative, the request instance is never removed automatically.


Tip –

To avoid cluttering the repository, set the resultLimit value to the shortest possible time.



Note –

The Service Provider SPML interface does not support asynchronous requests.