Пример #1
0
 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);
     }
 }
Пример #2
0
 public function __construct($wsdl = 'http://callfire.com/api/1.1/wsdl/callfire-service-http-soap12.wsdl', $options = array())
 {
     parent::__construct($wsdl, $options);
 }
Пример #3
0
 protected static function createSoapClient($username, $password, $service, $wsdl, $options)
 {
     $serviceClass = SoapClient::ns() . "\\{$service}";
     $client = new $serviceClass($wsdl, $options);
     return $client;
 }