PHP/Web Services SOAP WSDL/SOAP Response
Версия от 10:37, 26 мая 2010; (обсуждение)
Get SOAP response
<?php
$ws = "http://www.xmethods.net/sd/2001/TemperatureService.wsdl";
$zipcode = "12312";
$client = new SoapClient($ws,array("trace" => 1));
$temperature = $client->getTemp($zipcode);
echo htmlspecialchars($client->__getLastResponse());
?>