【问题标题】:SABRE Bargain Finder MaxSABRE 讨价还价工具 Max
【发布时间】:2018-01-09 14:10:07
【问题描述】:

我正在使用 Bargain Finder Max Sabre SOAP 方法,我总是收到响应版本已弃用,但我指定了 Request Version="3.4.0" 和 ResponseVersion="3.4.0"。

我的要求:

<?xml version="1.0" encoding="UTF-8"?>
<OTA_AirLowFareSearchRQ xmlns="http://www.opentravel.org/OTA/2003/05" Target="Test" Version="3.4.0" ResponseType="OTA" ResponseVersion="3.4.0">
   <POS>
      <Source PseudoCityCode="xxxx">
         <RequestorID Type="1" Instance="1" ID="1" />
      </Source>
   </POS>
   <OriginDestinationInformation RPH="1">
      <DepartureDateTime>2018-01-15T00:00:00</DepartureDateTime>
      <OriginLocation LocationCode="YYZ" />
      <DestinationLocation LocationCode="SDQ" />
   </OriginDestinationInformation>
   <OriginDestinationInformation RPH="2">
      <DepartureDateTime>2018-01-18T00:00:00</DepartureDateTime>
      <OriginLocation LocationCode="SDQ" />
      <DestinationLocation LocationCode="YYZ" />
   </OriginDestinationInformation>
   <TravelerInfoSummary>
      <AirTravelerAvail>
         <PassengerTypeQuantity Code="ADT" Quantity="1" />
      </AirTravelerAvail>
      <PriceRequestInformation CurrencyCode="USD" />
   </TravelerInfoSummary>
   <TPA_Extensions>
      <IntelliSellTransaction>
         <RequestType Name="50ITIN" />
      </IntelliSellTransaction>
   </TPA_Extensions>
</OTA_AirLowFareSearchRQ>

回复:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <OTA_AirLowFareSearchRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.0">
         <Errors>
            <Error Type="SRV.DRE" Code="REQ.FLR" ShortText="dre request failed" />
            <Error Type="IF2" Code="PROCESS" ShortText="PROCESSING ERROR DETECTED" />
            <Error Type="MAIN" Code="DEPRECATEDRS" ShortText="This response version is deprecated and will be decommissioned once a newer version is released." />
            <Error Type="WORKERTHREAD" Code="TRANSACTIONID" ShortText="6572224660929009932" />
            <Error Type="SERVER" Code="TTFHLC850" ShortText="27042" />
            <Error Type="ERR" Code="ERR" ShortText="Error during Processing" />
         </Errors>
      </OTA_AirLowFareSearchRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

感谢您的帮助。

【问题讨论】:

    标签: api soap sabre


    【解决方案1】:

    请求在“RequestorID”下缺少公司名称。该元素应填写具体值。

    请求中的预期:

       <POS>
          <Source PseudoCityCode="xxxx">
             <RequestorID Type="1" Instance="1" ID="1">
           <CompanyName Code="TN"/>
           </RequestorID>
          </Source>
       </POS>
    

    由于请求中没有“CompanyName”元素,因此交易失败,默认响应为 version="1.0" 并返回警告说版本已弃用。这是正在审查以增强的东西,但应该可以解决问题。

    http://files.developer.sabre.com/doc/providerdoc/shopping/BargainFinderMaxRQ_v3-4-0_Design.xml

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-05-26
      • 1970-01-01
      • 1970-01-01
      • 2021-10-29
      • 1970-01-01
      • 2017-04-18
      相关资源
      最近更新 更多