Skip to content

Instantly share code, notes, and snippets.

@multitel
Last active December 17, 2015 02:08
Show Gist options
  • Save multitel/5533278 to your computer and use it in GitHub Desktop.
Save multitel/5533278 to your computer and use it in GitHub Desktop.
e911 VerifyAddress SOAP function
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl');
$address ='200 Central Park West';
$city ='New York';
$state ='NY';
$zip ='10024';
$parameters=array(
array(
"UserName" => 'yourusername',
"Password" => 'yourpassword',
"Address" => $address,
"City" => $city,
"State" => $state,
"Zip" => $zip
)
);
$Res = array();
$Res = $client->call("VerifyAddressWs", $parameters,'urn:VerifyAddressWs');
print_r($Res);exit;
// $return_arr = $Res['DATA'][0];
// $return = $return_arr['RETURN'];
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment