我下面有肥皂网络服务来调用/获取数据
$this->soapWrapper->add('MOMSp', function ($service) {
$service
->wsdl('http://192.168.0.xxx/xxx/xxx.asmx?WSDL')
->trace(true)
->cache(WSDL_CACHE_NONE)
//->customHeader($myheader)
->options([
'login' => 'xxx',
'password' => 'xxx'
])
->classmap([
MOMCallBscResponse::class
]);
});
$response = $this->soapWrapper->call('MOMSp.MOMCallBsc', [
[
'AppNo' => '259b62168b7c4cad853caf721230cb58'
]
]);
var_dump($response);
dd($response);
exit;
我想基于AppNo调用/显示数据,当我尝试上面的代码时我得到null,
MOMCallBscResponse {#975 ▼
#MOMCallBscResult: null
}
请帮助我