Ошибка аутентификации при подключении к FedEx API - PullRequest
0 голосов
/ 15 декабря 2018

Я интегрирую Fedex API с codeigniter.Я загрузил тестовый код и файлы WSDL с веб-сайта fed ex. При интеграции я получаю сообщение об ошибке ниже:

  PHP_Common initialized

    stdClass Object
   (
[HighestSeverity] => ERROR
[Notifications] => Array
    (
        [0] => stdClass Object
            (
                [Severity] => ERROR
                [Source] => prof
                [Code] => 1000
                [Message] => Authentication Failed
            )

    )

[Version] => stdClass Object
    (
        [ServiceId] => ship
        [Major] => 23
        [Intermediate] => 0
        [Minor] => 0
    )

  )



The transaction returned an Error.
Severity: ERROR
Source: prof
Code: 1000
Message: Authentication Failed

Я получаю этот ответ:

 <SOAP-ENV:Envelopexmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><v23:ProcessShipmentReplyxmlns:v23="http://fedex.com/ws/ship/v23"><v23:HighestSeverityxmlns:v23="http://fedex.com/ws/ship/v23">ERROR</v23:HighestSeverity><v23:Notificationsxmlns:v23="http://fedex.com/ws/ship/v23"><v23:Severityxmlns:v23="http://fedex.com/ws/ship/v23">ERROR</v23:Severity><v23:Sourcexmlns:v23="http://fedex.com/ws/ship/v23">prof</v23:Source><v23:Codexmlns:v23="http://fedex.com/ws/ship/v23">1000</v23:Code><v23:Messagexmlns:v23="http://fedex.com/ws/ship/v23">AuthenticationFailed</v23:Message></v23:Notifications><v23:Versionxmlns:v23="http://fedex.com/ws/ship/v23"><v23:ServiceIdxmlns:v23="http://fedex.com/ws/ship/v23">ship</v23:ServiceId><v23:Majorxmlns:v23="http://fedex.com/ws/ship/v23">23</v23:Major><v23:Intermediatexmlns:v23="http://fedex.com/ws/ship/v23">0</v23:Intermediate><v23:Minorxmlns:v23="http://fedex.com/ws/ship/v23">0</v23:Minor></v23:Version></v23:ProcessShipmentReply></SOAP-ENV:Body></SOAP-ENV:Envelope>
...