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

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

--

Legend:

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

    v1 v2  
    6060$client->__setSoapHeaders($header); 
    6161 
     62$copeid = NULL; 
    6263 
     64try { 
     65    $data = array( 
     66        'date__' => 'Jan Kowalski', 
     67        'contid' => 123,     
     68    ); 
     69    $copeid = $client->createContactPerson($data); 
     70    var_dump($copeid); 
     71 
     72} catch(SoapFault $fault) { 
     73     
     74    var_dump($fault); 
     75     
     76    if ($fault->faultcode < 100) { 
     77        trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 
     78    } 
     79} 
    6380 
    6481?>