2017-03-22 10 views
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>'; 

答えて

0

上記の例外からの、私はWSに問題があることを推測します。 WSバックエンドに連絡する必要があります。

+0

ありがとうございます。他人からの回答を待っています。 –

関連する問題