public function testSoapArray() { $clients = Client::Soap(static::$credentials[0], static::$credentials[1], static::$services); foreach ($clients as $key => $client) { $matchingServiceName = static::$services[$key]; $this->assertInstanceOf(SoapClient::ns() . "\\{$matchingServiceName}", $client); } }
public function __construct($wsdl = 'http://callfire.com/api/1.1/wsdl/callfire-service-http-soap12.wsdl', $options = array()) { parent::__construct($wsdl, $options); }
protected static function createSoapClient($username, $password, $service, $wsdl, $options) { $serviceClass = SoapClient::ns() . "\\{$service}"; $client = new $serviceClass($wsdl, $options); return $client; }