Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> WebAPI Allegro (połączenie)
The Night Shadow
post
Post #1





Grupa: Zarejestrowani
Postów: 495
Pomógł: 2
Dołączył: 5.02.2006
Skąd: Wrocław

Ostrzeżenie: (0%)
-----


  1. $params = array(
  2. 'sysvar' => 1,
  3. 'country-id' => 1,
  4. 'webapi-key' => 'KLUCZ'
  5. );
  6.  
  7. $soap = new SoapClient('http://webapi.allegro.pl/uploader.php?wsdl',array('encoding'=>'UTF8'));
  8. $result = $soap->__call('doQuerySysStatus',$params);
  9.  
  10. print_r($result);


Z jakiego powodu non stop wywala błąd :

Fatal error: Uncaught SoapFault exception: [ERR_INPUT_COUNTRY_ERROR] Invalid country code has been entered. in C:\Program Files\WebServ\httpd\allegro.php:10 Stack trace: #0 C:\Program Files\WebServ\httpd\allegro.php(10): SoapClient->__call('doQuerySysStatu...', Array) #1 {main} thrown in C:\Program Files\WebServ\httpd\allegro.php on line 10

Klucz api podaję ok. Całość zaciągnięta z dokumentacji AlLEGRO gdyby się kto pytał.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.12.2025 - 14:55