aeolu/soap

此包已 废弃 且不再维护。没有建议的替代包。
此包最新版本(0.3.1)没有可用的许可证信息。

SOAP 包装器

0.3.1 2014-12-24 21:14 UTC

This package is not auto-updated.

Last update: 2019-02-20 18:15:36 UTC


README

use Aeolu\Soap\Client;

$client = Client::url($url)
				->login('username')
				->password('password')
				->auth('ntlm);
				
$response = $client->get('Read', [
	'key' => 'value'
]);

var_dump($response);

示例

$url      = '/path/to/file.wsdl';
$username = 'domain\User';
$password = '******';


$client = new SoapNtlm($url, [
    'login'    => $username,
    'password' => $password
]);

$response = $client->Read([
    'key' => 'value
]);

var_dump($response);