Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [ZF][ZF2] SOAP Client - nie znajduje metody
Forum PHP.pl > Forum > PHP > Frameworki
netvalue
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 ?
Pyton_000
a
  1. $res = $client->__call('GetExpectedCustomerID', array());
netvalue
to samo sad.gif
Pyton_000
pokaż wynik z

  1. $functions = $client->__getFunctions ();
  2. var_dump ($functions);
netvalue
  1. array(1) {
  2. [0] => string(152) "GetExpectedCustomerIDResponse GetExpectedCustomerID(GetExpectedCustomerID $parameters)"
  3. [1] => string(152) "GetExpectedCustomerIDResponse GetExpectedCustomerID(GetExpectedCustomerID $parameters)"
  4. }
sazian
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 ?
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.