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

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

--

Legend:

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

    v1 v2  
    4747$client->__setSoapHeaders($header); 
    4848 
     49$contid = 123; 
     50$contact = array(); 
    4951 
     52try { 
     53    $data = array( 
     54        'name_1' => 'SOAP TEST '.date('d H:m:s'), 
     55        'name_2' => 'SOAPTEST', 
     56        'nip___' => 1111111111, 
     57        'street' => 'Główna',         
     58    ); 
     59    $contact = $client->createContact($contid); 
     60    var_dump($contact); 
     61 
     62} catch(SoapFault $fault) { 
     63     
     64    var_dump($fault); 
     65     
     66    if ($fault->faultcode < 100) { 
     67        trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 
     68    } 
     69} 
    5070 
    5171?>