Cancel operation

				
					void cancelOpe(string idSession, int numOperation)
				
			

Cancel a pending operation.

REQUIRED


  • idSession string (32)
    Session ID.

  • numOperation integer
    Tracking ID of the operation.

Depending on the operation’s current status at the registry, even if the operation is still pending, the cancellation may not be possible.

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $clientSOAP->cancelOpe($idSession, 1000); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if (isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>