Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php/soap], Dostaje fatal error przy logowaniu sie do allegro api
deirathe
post 1.02.2008, 09:18:24
Post #1





Grupa: Zarejestrowani
Postów: 426
Pomógł: 32
Dołączył: 24.05.2007

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


  1. <?php
  2. $client = new SoapClient('http://webapi.allegro.pl/uploader.php?wsdl');
  3. $msg = array
  4. (
  5. "user-login" => "user",
  6. "user-password" => "psswd",
  7. "country-code" => "228",
  8. "webapi-key" => "webapikey",
  9. "local-version" => "10212371", //do sprawdzenia za pomocą metody doQuerySysStatus()
  10. );
  11. $zap = $client->__call("doLogin",$msg);//lacze sie z testweb api
  12. ?>

no i oto co dostaje, ktos moze pomoc?
Fatal error: Uncaught SoapFault exception: [ERR_NO_SESSION] There was a mistake. Please try enter once again! - Unfortunately you cannot use the Loader.

Ten post edytował deirathe 1.02.2008, 09:20:16


--------------------
Kawałek mojego blogu
Everything should be as simple as possible but not simpler.
A Einstein
Go to the top of the page
+Quote Post
-mario1978-
post 21.07.2008, 14:52:53
Post #2





Goście







Musisz sie najpierw zarejestrowac na stronie testowej http://www.testwebapi.pl/new_user.php aby moc skorzystac z testowego API. Chyba ze chcesz od razu "na zywca" to wpisz dane itd. z allegro.pl winksmiley.jpg
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 14.07.2025 - 06:21