PHP通过soap调用web服务
PHP开启soap扩展
$client = new \SoapClient(Config::get('wsadd'));
$params = array("txtIP" => $txtIP, "txtPort" => $txtPort, "bflag" => $bflag);
$response = $client->__soapCall("EnableUser", array($params));
$response->EnableUserResult
'wsadd' => 'http://localhost:2416/sts/WebService.asmx?WSDL'