Answer the question
In order to leave comments, you need to log in
How to get response via SOAP request?
I am using ZendFramework.
$client = new \Zend\Soap\Client('http://www.webservicex.com/globalweather.asmx?wsdl');
var_dump($client->call('GetCitiesByCountry',['CountryName' => 'Russian'])); // int(0)
var_dump($client->GetCitiesByCountry(['CountryName' => 'Russian'])) // int(0)
var_dump($client->getFunctions())
array(4) {
[0]=>
string(53) "GetWeatherResponse GetWeather(GetWeather $parameters)"
[1]=>
string(77) "GetCitiesByCountryResponse GetCitiesByCountry(GetCitiesByCountry $parameters)"
[2]=>
string(53) "GetWeatherResponse GetWeather(GetWeather $parameters)"
[3]=>
string(77) "GetCitiesByCountryResponse GetCitiesByCountry(GetCitiesByCountry $parameters)"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question