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

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

--

Legend:

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

    v1 v2  
    4949 
    5050 
     51$contact = array(); 
     52 
     53try { 
     54    $data = array( 
     55        'name_1' => 'SOAP TEST', 
     56        'street' => 'Główna',         
     57    ); 
     58    $contacts = $client->searchContacts($data); 
     59    var_dump($contacts); 
     60 
     61} catch(SoapFault $fault) { 
     62     
     63    var_dump($fault); 
     64     
     65    if ($fault->faultcode < 100) { 
     66        trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 
     67    } 
     68} 
    5169 
    5270?>