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

Pokaż
Ignoruj:
Data i czas:
02/08/12 14:03:55 (12 years temu)
Autor:
TS (IP: 213.227.67.33)
Komentarz:

--

Legend:

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

    v1 v2  
    4949$client->__setSoapHeaders($header); 
    5050 
     51$docInfo = NULL; 
     52 
     53try { 
     54    $data = array( 
     55        'dctpid' => 12, 
     56    ); 
     57    $docInfo = $client->getDocumentTypeData($data); 
     58    var_dump($docInfo); 
     59} catch(SoapFault $fault) { 
     60    var_dump($fault); 
     61     
     62    if ($fault->faultcode < 100) { 
     63        trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 
     64    } 
     65} 
    5166 
    5267?>