QueryOpePending

From NETIM
Jump to: navigation, search


Release
API >= 2.0


Description

Returns the list of pending operations processing

StructQueryOpePending[] queryOpePending(string idSession)


Parameters

Format Variable Description Notes
string (32) idSession Session ID


Return


An array of objects of type StructQueryOpePending


Notes

None


Examples

PHP

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


Release Runtime
API >= 1.5 Synchrone


Description

Returns the list of pending operations processing

StructQueryOpePending[] queryOpePending(string idSession)


Parameters

Format Variable Description Notes
string (32) idSession Session ID


Return


An array of objects of type StructQueryOpePending


Notes

None


Examples

PHP

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


JAVA

DRSServiceLocator service = new DRSServiceLocator(); 
String idSession; 
StructQueryOpePending[] arrayStructQueryOpePending; 
 
try 
{ 
      DRSPortType port = service.getDRSPort(); 
      idSession = port.login("XXXX", "XXXX", "EN"); 
 
      arrayStructQueryOpePending = port.queryOpePending(idSession); 
 
      for (int i=0; i < arrayStructQueryOpePending.length; i++) 
            System.out.println(arrayStructQueryOpePending[i].GetID()+" "+arrayStructQueryOpePending[i].GetType()+" "+arrayStructQueryOpePending[i].GetDate()+" "+arrayStructQueryOpePending[i].GetData()); 
 
      port.logout(idSession); 
} 
catch (RemoteException re) 
{ 
      System.out.println(re.getMessage()); 
} 
catch (ServiceException se) 
{ 
      se.printStackTrace(); 
}


Personal tools
Namespaces

Variants
Actions
Your account
Domain names
Contact Us
Web Hosting
SSL Certificate
Email Hosting
Website Builder
Resellers
Affiliates
Miscellaneous