Skip to content

Instantly share code, notes, and snippets.

@snoek09
Last active August 29, 2015 14:06
Show Gist options
  • Save snoek09/501906b5b81df7787863 to your computer and use it in GitHub Desktop.
Save snoek09/501906b5b81df7787863 to your computer and use it in GitHub Desktop.
SOAP Client test call, using Charles Proxy to debug
<?php
$options = array(
"cache_wsdl" => WSDL_CACHE_NONE,
"soap_version" => SOAP_1_1,
"trace" => 1,
"proxy_host" => "localhost",
"proxy_port" => 8888,
);
$client = new SoapClient("http://footballpool.dataaccess.eu/data/info.wso?wsdl", $options);
$params = array('bSelected' => '1');
$response = $client->AllPlayerNames($params);
var_dump($response);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment