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.

$clientSOAP = new SoapClient('https://URL.wsdl');

try {
      $idSession = $clientSOAP->sessionOpen('XX000', 'xxxxxxxx');
    $clientSOAP->cancelOpe($idSession, 1000);

} catch (SoapFault $fault) {
      echo 'Exception : ' . $fault->getMessage() . "\n";
}

if (isset($idSession)) {
      $clientSOAP->sessionClose($idSession);
}