Saber Soap API保存错误

时间:2018-07-13 02:58:16

标签: xml soap sabre

我正在尝试保存PNR,但出现以下错误。有谁知道是否有一种方法可以通过API修复或覆盖错误,以便将其保存?

=====================请求XML:====================

<?xml version="1.0" encoding="UTF-8"?>
         <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
            <SOAP-ENV:Header>
                <eb:MessageHeader xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" SOAP-ENV:mustUnderstand="0">
                    <eb:From>
                        <eb:PartyId eb:type="urn:x12.org:IO5:01">from</eb:PartyId>
                    </eb:From>
                    <eb:To>
                        <eb:PartyId eb:type="urn:x12.org:IO5:01">ws</eb:PartyId>
                    </eb:To>
                    <eb:CPAId>IPCC</eb:CPAId>
                    <eb:ConversationId>testing123</eb:ConversationId>
                    <eb:Service eb:type="sabreXML"></eb:Service>
                    <eb:Action>EndTransactionLLSRQ</eb:Action>
                </eb:MessageHeader> 
                <ns6:Security xmlns:ns6="http://schemas.xmlsoap.org/ws/2002/12/secext" SOAP-ENV:mustUnderstand="0">
                    <ns6:BinarySecurityToken>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/RESB!ICESMSLB\/RES.LB!-3125948********!0</ns6:BinarySecurityToken>
                </ns6:Security>
            </SOAP-ENV:Header>
            <SOAP-ENV:Body> 
            <EndTransactionRQ Version="2.0.8" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <EndTransaction Ind="true" />
                    <Source ReceivedFrom="OTH" />
            </EndTransactionRQ>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
===================== Response XML: =====================

<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header><eb:MessageHeader xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" eb:version="1.0" soap-env:mustUnderstand="1"><eb:From><eb:PartyId eb:type="urn:x12.org:IO5:01">ws</eb:PartyId></eb:From><eb:To><eb:PartyId eb:type="urn:x12.org:IO5:01">from</eb:PartyId></eb:To><eb:CPAId>IPCC</eb:CPAId><eb:ConversationId>testing123</eb:ConversationId><eb:Service eb:type="sabreXML"/><eb:Action>EndTransactionLLSRS</eb:Action><eb:MessageData><eb:MessageId>9133913861458500202</eb:MessageId><eb:Timestamp>2018-07-12T23:55:45</eb:Timestamp></eb:MessageData></eb:MessageHeader><wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"><wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/RESB!ICESMSLB\/RES.LB!-3125948754382560628!964441!0</wsse:BinarySecurityToken></wsse:Security></soap-env:Header><soap-env:Body><EndTransactionRS xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01" Version="2.0.8">
 <stl:ApplicationResults status="NotProcessed">
  <stl:Error type="BusinessLogic" timeStamp="2018-07-12T18:55:45-05:00">
   <stl:SystemSpecificResults>
    <stl:Message>VERIFY ORDER OF ITINERARY SEGMENTS - MODIFY OR END TRANSACTION</stl:Message>
    <stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
   </stl:SystemSpecificResults>
  </stl:Error>
 </stl:ApplicationResults>
</EndTransactionRS></soap-env:Body></soap-env:Envelope>:
====================================================

1 个答案:

答案 0 :(得分:1)

执行此操作的方法有多种-最有可能是因为您尝试保存张开的下巴(例如FRA-SFO-DEN-FRA)或类似的东西。

针对此问题,有几种解决方案-我按最佳做法对其进行了排名。

在这些情况下,最佳做法是放入一块土地(ARUNK)。 https://richmedia.sabre.com/docs/pdfs/pnr6.pdf

否则,可以通过GUI的TJR设置更改/关闭此警告/验证。

最后但并非最不重要的一点是,您可以尝试发送“结束交易请求”,它应创建PNR。