我正在尝试使用PHP / SOAP调用Web服务,这是代码,但我不知道我做错了什么?
$client = new SoapClient(null, array('exceptions' => true, 'cache_wsdl' => WSDL_CACHE_NONE, 'location' => `https://services.acxiom.com/risk-findpeople0003/1.0?WSDL`, 'uri' => `https://services.acxiom.com/risk-findpeople0003/1.0?WSDL`, 'login' => 'LOGIN_VAL', 'password' => 'PASS_VAL',));
以下是我得到的错误:
SoapFault: Endpoint
{`http://findpeople0003.riskapi.acxiom.com/risk-findpeople0003/1.0`} RiskFindPeople0003BeanPort
does not contain operation meta data for:
{`https://services.acxiom.com/risk-findpeople0003/1.0?WSDL`}getFindPeople
in `SoapClient->__call()`
你知道为什么会这样吗? 谢谢!