Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> SoapClient i problem z logowaniem
paramo
post 27.07.2010, 12:21:19
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 26.07.2010

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


Witam.
Z czym moze byc zwiazany taki 'krzak' ?
Fatal error: Uncaught SoapFault exception: [HTTP] Authorization Required in D:\wwwroot\test3\include\action\aplik.php:63

a linia 63 wyglada: return $this->__soapCall('clearEnvelope', array ($parameters));

Dodam ze php_soapl.dll odkomentowany jest.
Dzieki za odpowiedz
Go to the top of the page
+Quote Post
vokiel
post 27.07.2010, 12:36:43
Post #2





Grupa: Zarejestrowani
Postów: 2 592
Pomógł: 445
Dołączył: 12.03.2007

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


Cytat(paramo @ 27.07.2010, 13:21:19 ) *
Authorization Required

Masz jak byk napisane co jest nie tak


--------------------
Go to the top of the page
+Quote Post
paramo
post 27.07.2010, 12:49:14
Post #3





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 26.07.2010

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


ale i tak nie moge dalej ruszyc:)
Go to the top of the page
+Quote Post
batman
post 27.07.2010, 12:58:31
Post #4





Grupa: Moderatorzy
Postów: 2 921
Pomógł: 269
Dołączył: 11.08.2005
Skąd: 127.0.0.1




Webservice, z którego korzystasz wymaga logowania. Przeszukaj dokumentację usługi pod kątem metody, która pozwoli się Tobie zalogować.
Powód edycji: [batman]:


--------------------
I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features.
Go to the top of the page
+Quote Post
paramo
post 27.07.2010, 13:06:08
Post #5





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 26.07.2010

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


to w czyms pomoze?
include "../include/main.php";
PageOpenBasicAuth();
ini_set("soap.wsdl_cache_enabled", "0");
$server = new SoapServer(WSDL_FILE,WSDLHandler::getOptions());
$server->setClass("WSDLHandler");
$server->handle();
Go to the top of the page
+Quote Post
batman
post 27.07.2010, 13:19:11
Post #6





Grupa: Moderatorzy
Postów: 2 921
Pomógł: 269
Dołączył: 11.08.2005
Skąd: 127.0.0.1




Nie za bardzo. Musisz sprawdzić w dokumentacji usługi, do której się łączysz, w jaki sposób możesz się zalogować. Prawie na pewno będzie do tego odpowiednia metoda.


--------------------
I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features.
Go to the top of the page
+Quote Post
paramo
post 30.07.2010, 09:32:10
Post #7





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 26.07.2010

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


niestety nie mam takiej dokumentacji...
co moge jeszcze sprawdzic?
z gory dzieki za pomoc
Go to the top of the page
+Quote Post
batman
post 30.07.2010, 09:35:28
Post #8





Grupa: Moderatorzy
Postów: 2 921
Pomógł: 269
Dołączył: 11.08.2005
Skąd: 127.0.0.1




A masz może spis metod, jakie masz do wykorzystania? Jeśli tak, to sprawdź, czy jest wśród nich metoda umożliwiająca zalogowanie się.


--------------------
I would love to change the world, but they won't give me the source code.
My software never has bugs. It just develops random features.
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: 6.07.2025 - 06:29