Skip to content

Instantly share code, notes, and snippets.

@multitel
Last active December 17, 2015 02:09
Show Gist options
  • Save multitel/5534046 to your computer and use it in GitHub Desktop.
Save multitel/5534046 to your computer and use it in GitHub Desktop.
GetCountries SOAP Service
<?php
include('/path/to/your/nusoap/nusoap.php');
$client = new nusoap_client('http://api.multitel.net/?wsdl');
$parameters=array(
array(
"UserName" => "yourusername",
"Password" => "yourpassword"
)
);
$Res = array();
$Res = $client->call("GetCountriesWs", $parameters,'urn:GetCountriesWs');
print_r($Res);
exit;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment