创建 Sabre 会话令牌时如何修复“无法连接到 ICE 安全系统:521”错误?

问题描述 投票:0回答:1

我按照以下指南:https://developer.sabre.com/guides/travel-agency/quickstart-guides/get-token创建会话令牌。我已按照指南操作并已成功创建无会话令牌。

但是,我遇到了奇怪的错误,我无法找到任何答案。我知道它与凭据无关,因为这提供了不同的错误。这是我在 Postman 中测试的请求:

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
   <soap-env:Header>
      <eb:MessageHeader soap-env:mustUnderstand="1" eb:version="1.0">
               <eb:ConversationId>c88f8e8cb699</eb:ConversationId>
         <eb:From>
            <eb:PartyId type="urn:x12.org:IO5:01">999999</eb:PartyId>
         </eb:From>
         <eb:To>
           <eb:PartyId type="urn:x12.org:IO5:01">123123</eb:PartyId>
         </eb:To>
         <eb:CPAId>XXXX</eb:CPAId>
         <eb:Service eb:type="OTA">SessionCreateRQ</eb:Service>
         <eb:Action>SessionCreateRQ</eb:Action>
         <eb:MessageData>
         <eb:MessageId>1000</eb:MessageId>
         <eb:Timestamp>2024-02-13T16:32:31Z</eb:Timestamp>
         <eb:TimeToLive>2024-02-13T16:32:31Z</eb:TimeToLive>
         </eb:MessageData>
      </eb:MessageHeader>
      <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/12/utility">
         <wsse:UsernameToken>
            <wsse:Username>9999</wsse:Username>
            <wsse:Password>XXXXXXX</wsse:Password>
            <Organization>XXXX</Organization>
            <Domain>DEFAULT</Domain>          
         </wsse:UsernameToken>
      </wsse:Security>
   </soap-env:Header>
   <soap-env:Body>
      <sws:SessionCreateRQ xmlns:sws="http://webservices.sabre.com" Version="1.0.0"/>
   </soap-env:Body>
</soap-env:Envelope>

当我运行此程序时,出现以下错误:

<soap-env:Body>
        <soap-env:Fault>
            <faultcode>soap-env:Server.SystemFailure</faultcode>
            <faultstring>Unable to connect to ICE security system : 521</faultstring>
            <detail>
                <StackTrace>com.sabre.universalservices.base.exception.ApplicationICEException: errors.authentication.USG_SECURITY_ICE_ERROR</StackTrace>
            </detail>
        </soap-env:Fault>
    </soap-env:Body>

有谁知道导致此错误的原因是什么?还有请问如何解决?

谢谢

sabre
1个回答
0
投票

此问题是由凭据引起的,这就是其无法访问 ICE 安全系统的原因。证书必须是 IPCC 的,而不是 PCC 的。

© www.soinside.com 2019 - 2024. All rights reserved.