0
鏈接WSDL:https://east-a-xxxxxxx.net/xxxx.asmx。 我使用PHP的SOAP獲得的功能,但有錯誤:不使用功能的SOAP API Web服務
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>';
謝謝。等待其他人的回答。 –