35 | | require_once('./classes/eDo// Tworzy kontakt |
36 | | $contid = NULL; |
37 | | |
38 | | try { |
39 | | $data = array( |
40 | | 'name_1' => 'SOAP TEST'.date('d H:m:s'), |
41 | | 'name_2' => 'SOAPTEST', |
42 | | 'nip___' => 1111111111, |
43 | | 'street' => 'Główna', |
44 | | 'symbol' => 'FGH99' |
45 | | ); |
46 | | $contid = $client->createContact($data); |
47 | | var_dump($contid); |
48 | | |
49 | | } catch(SoapFault $fault) { |
50 | | |
51 | | var_dump($fault); |
52 | | |
53 | | if ($fault->faultcode < 100) { |
54 | | trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); |
55 | | } |
56 | | }kumentyApi/EDokApiClient.inc'); |
| 35 | require_once('./classes/eDokumentyApi/EDokApiClient.inc'); |