Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ZF][ZF2] SOAP Client - nie znajduje metody
netvalue
post
Post #1





Grupa: Zarejestrowani
Postów: 199
Pomógł: 2
Dołączył: 9.06.2008

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


Cześć,

Mam takie wywołanie metody

  1.  
  2. $client = new \Zend\Soap\Client("http://192.168.0.1/handler.ashx?WSDL");
  3. $result = $client->GetExpectedCustomerID();


otrzymuje :
  1. Function ("GetExpectedCustomerID") is not a valid method for this service


ta metoda jest na 100% , nawet gdy dam:
  1.  
  2. $result = $client->getFunctions();


dostaje tablice z metodami i ta metoda tam jest.... Co moge zrobic z tym ?

Ten post edytował netvalue 18.08.2014, 08:52:46
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 5)
Pyton_000
post
Post #2





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

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


a
  1. $res = $client->__call('GetExpectedCustomerID', array());
Go to the top of the page
+Quote Post
netvalue
post
Post #3





Grupa: Zarejestrowani
Postów: 199
Pomógł: 2
Dołączył: 9.06.2008

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


to samo sad.gif
Go to the top of the page
+Quote Post
Pyton_000
post
Post #4





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

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


pokaż wynik z

  1. $functions = $client->__getFunctions ();
  2. var_dump ($functions);


Ten post edytował Pyton_000 18.08.2014, 10:23:21
Go to the top of the page
+Quote Post
netvalue
post
Post #5





Grupa: Zarejestrowani
Postów: 199
Pomógł: 2
Dołączył: 9.06.2008

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


  1. array(1) {
  2. [0] => string(152) "GetExpectedCustomerIDResponse GetExpectedCustomerID(GetExpectedCustomerID $parameters)"
  3. [1] => string(152) "GetExpectedCustomerIDResponse GetExpectedCustomerID(GetExpectedCustomerID $parameters)"
  4. }
Go to the top of the page
+Quote Post
sazian
post
Post #6





Grupa: Zarejestrowani
Postów: 1 045
Pomógł: 141
Dołączył: 19.09.2006
Skąd: B-tów

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


a sprawdzałeś standardowym klientem php'owym ? może w serwerze jest coś nie tak ?

nie żebym był specjalistą od soapów, ale czy ta funkcja GetExpectedCustomerID nie powinna się wyświetlić tylko raz ?
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 Aktualny czas: 20.08.2025 - 17:22