3.3.4.61 IsTaskRunning
This operation can be used to query whether a particular IPAM task is running or not.
-
<wsdl:operation name="IsTaskRunning"> <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/IsTaskRunning" message="ipam:IIpamServer_IsTaskRunning_InputMessage" /> <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/IsTaskRunningResponse" message="ipam:IIpamServer_IsTaskRunning_OutputMessage" /> </wsdl:operation>
Upon receiving the IIpamServer_IsTaskRunning_InputMessage request message, the server performs the following processing steps. Upon successful completion of the steps specified below, the server MUST respond with the IIpamServer_IsTaskRunning_OutputMessage message. In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1.
Validate that IsTaskRunning.task is not null. Otherwise an appropriate SOAP fault MUST be generated.
Enumerate the row in ADM_Tasks whose TaskType is specified in IsTaskRunning.taskType.
If Status of the task is Running, set IsTaskRunningResponse.IsTaskRunningResult to TRUE. Otherwise set it to FALSE.