Hi all,
When I load the simple example for geocoding with this code:
<?php
// Create new instance of the SoapClient class
// You'll need to download the WSDL file from:
// http://geocoder.us/dist/eg/clients/GeoCoder.wsdl
$client = new SoapClient("geocoder.wsdl");
// Retrieve the address coordinates
$result = $client->geocode("411 Woody Hayes Dr, Columbus, OH");
// Dump the returned object
var_dump($result);
?>
I get a SoapFault unexpected text element. This is in PHP 5.1.0RC4,
5.1.2, 5.1.3-dev latest CVS (I don't have 5.0 hanging around to test with)
Could someone with SOAP extension know-how take a look at the wsdl at:
http://geocoder.us/dist/eg/clients/GeoCoder.wsdl
and let me know if there really is a problem with it? If so, I'll
report the problem to geocoder, otherwise I'll open a php bug. My quick
scan does not detect any obvious problems in the wsdl, but I rarely work
with SOAP.
Thanks,
Greg