I am running php5 with the soap extension enabled and working.
I am trying to do a simple address lookup but am getting stuck.
Function getAddressData takes 5 items.
address
apt
city
state
zip
It returns 6
street address
apt number
city
state
zip code
status
This is my code
I get the following error.
Fatal error: Uncaught SoapFault exception: [soap:Client] Not enough message parts were received for the operation. in C:\Program Files\Apache Group\Apache\htdocs\info.php:11 Stack trace: #0 C:\Program Files\Apache Group\Apache\htdocs\info.php(11): SoapClient->__soapCall('getAddressData', Array) #1 {main} thrown in C:\Program Files\Apache Group\Apache\htdocs\info.php on line 11
Any ideas?
Thanks!
I am trying to do a simple address lookup but am getting stuck.
Function getAddressData takes 5 items.
address
apt
city
state
zip
It returns 6
street address
apt number
city
state
zip code
status
This is my code
Code:
<?
$client = new SoapClient("[URL unfurl="true"]http://auort.dynamiccity.com:8080/DCWebServices/services/AddressLookupService?WSDL");[/URL]
$client->__soapCall("getAddressData",
array('address' => '1360 S 1600 W',
'apt' => '',
'city' =>'',
'state' =>'UT',
'zip' =>'',
));
?>
Fatal error: Uncaught SoapFault exception: [soap:Client] Not enough message parts were received for the operation. in C:\Program Files\Apache Group\Apache\htdocs\info.php:11 Stack trace: #0 C:\Program Files\Apache Group\Apache\htdocs\info.php(11): SoapClient->__soapCall('getAddressData', Array) #1 {main} thrown in C:\Program Files\Apache Group\Apache\htdocs\info.php on line 11
Any ideas?
Thanks!