简体   繁体   English

Soap API Web服务未与功能一起使用

[英]Soap API Web Service not using with function

Link WSDL: https://east-a-xxxxxxx.net/xxxx.asmx . 链接WSDL: https : //east-a-xxxxxxx.net/xxxx.asmx I using SOAP of php to get function, but have error: 我使用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
     )
)

Source: 资源:

$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>';

From the above exception, I guess that there are problem in WS. 从上述异常中,我猜想WS中存在问题。 You should contact with WS backend. 您应该与WS后端联系。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM