[英]Soap API Web Service not using with function
链接WSDL: https : //east-a-xxxxxxx.net/xxxx.asmx 。 我使用php的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>';
从上述异常中,我猜想WS中存在问题。 您应该与WS后端联系。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.