Zmiany pomiędzy wersją 1 and wersją 2 dla DeployerGuide/Others/eDokumentyApi/CreateProcess

Pokaż
Ignoruj:
Data i czas:
02/08/12 13:22:06 (12 years temu)
Autor:
TS (IP: 213.227.67.33)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • DeployerGuide/Others/eDokumentyApi/CreateProcess

    v1 v2  
    5555$client->__setSoapHeaders($header); 
    5656 
     57$prc_id = NULL; 
    5758 
     59try { 
     60    $data = array( 
     61        'dscrpt' => 'SOAP TEST '.date('d H:m:s'), 
     62        'briefcase_symbol' => 'DK.023', 
     63        'orunid' => 49, 
     64        'rspoid' => 54, 
     65        'fxtrid' => 60, 
     66        'prtpid' => 1, 
     67    ); 
     68    $prc_id = $client->createProcess($data); 
     69    var_dump($prc_id); 
     70} catch(SoapFault $fault) { 
     71    var_dump($fault); 
     72     
     73    if ($fault->faultcode < 100) { 
     74        trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 
     75    } 
     76} 
    5877 
    5978?>