Código PHP:
<?php
include_once('../lib/nusoapforphp5/lib/nusoap.php');
//GeoIpService
$wsdlURL = "http://www.webservicex.net/geoipservice.asmx?wsdl";
$soap = new soapclient($wsdlURL,array(true));
$result = $soap->call("GetGeoIPContext");
if($error = $soap->getError()){ die($error);}
echo $result["GetGeoIPContextResult"]["CountryName"];
?>
Fatal error: Uncaught SoapFault exception: [Client] Function ("call") is not a valid method for this service in C:\xampp\htdocs\lab\webservice\geoipservice.php:8 Stack trace: #0 [internal function]: SoapClient->__call('call', Array) #1 C:\xampp\htdocs\lab\webservice\geoipservice.php(8) : SoapClient->call('GetGeoIPContext') #2 {main} thrown in C:\xampp\htdocs\lab\webservice\geoipservice.php on line 8