Skip to content

Instantly share code, notes, and snippets.

@fnordo
Last active December 17, 2015 22:39
Show Gist options
  • Save fnordo/5683701 to your computer and use it in GitHub Desktop.
Save fnordo/5683701 to your computer and use it in GitHub Desktop.
php-soap-test
$location = 'http://footballpool.dataaccess.eu/data/info.wso';
$uri = 'http://footballpool.dataaccess.eu';
$options = array(
'location' => $location,
'uri' => $uri
);
try {
$client = new SoapClient(null, $options);
print(
$client->__soapCall('TopGoalScorers', array('iTopn' => 5))
);
} catch (Exceptions $e) {
var_dump($ex->getMessage());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment