链接WSDL:https://east-a-xxxxxxx.net/xxxx.asmx。 我使用SOAP的SOAP来获取函数,但是有错误:
stdClass Object
(
[AuthenticateConsumerResult] => stdClass Object
(
[Exception] => stdClass Object
(
[Message] => Missing configuration item(s).
[TypeName] => CSI.API.Exceptions.AuthenticationException
[ExceptionString] => CSI.API.Exceptions.AuthenticationException: Missing configuration item(s).
)
[IsException] => 1
)
)
来源:
$client = new SoapClient("https://east-a-xxxxxxx.net/xxxx.asmx?WSDL");
$auth = array(
'consumerName'=>'xxx',
'consumerPassword'=>'xxxxx',
);
echo '<pre>';
print_r($client->AuthenticateConsumer($auth));
echo '</pre>';
答案 0 :(得分:0)
从上面的例外情况来看,我猜WS中存在问题。您应该与WS后端联系。