2016-03-29 6 views
0

PNRを生成しようとしています。この目的のために、Air Book "OTA_AirBookRQ"に "EnhancedAirBookRQ"を使用しました。私はBargainFinderMaxRQを検索に使用しましたが、現在はエアブックと価格IternaryにEnhancedAirBookRQを使用しています。 [PNRが見つかりません、コード:500325、重大度:普通]

<?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">localhost/sabre</eb:PartyId> 
       </eb:From> 
       <eb:To> 
        <eb:PartyId eb:type="urn:x12.org:IO5:01">sabre</eb:PartyId> 
       </eb:To> 
       <eb:CPAId>3W2D</eb:CPAId> 
       <eb:ConversationId>testingId</eb:ConversationId> 
       <eb:Service eb:type="sabreXML">EnhancedAirBookRQ</eb:Service> 
       <eb:Action>EnhancedAirBookRQ</eb:Action> 
       <eb:MessageData> 
        <eb:MessageId>1426190858</eb:MessageId> 
        <eb:Timestamp>2016-02-08T02:37:58-06:00</eb:Timestamp> 
        <eb:TimeToLive>2016-02-08T03:37:58-06:00</eb:TimeToLive> 
       </eb:MessageData>    
      </eb:MessageHeader> 
      <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"> 
       <wsse:BinarySecurityToken>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTD!ICESMSLB\/CRT.LB!-3421544930368575840!319427!0</wsse:BinarySecurityToken> 
      </wsse:Security> 
     </SOAP-ENV:Header> 
     <SOAP-ENV:Body> 
      <EnhancedAirBookRQ xmlns="http://services.sabre.com/sp/eab/v3_2" version="3.2.0" HaltOnError="true"> 
    <OTA_AirBookRQ> 
     <HaltOnStatus Code="UC" /> 
      <HaltOnStatus Code="LL" /> 
      <HaltOnStatus Code="UL" /> 
      <HaltOnStatus Code="UN" /> 
      <HaltOnStatus Code="NO" /> 
      <HaltOnStatus Code="HL" /> 
     <OriginDestinationInformation> 
      <FlightSegment DepartureDateTime="2016-03-31T16:05:00" FlightNumber="216" NumberInParty="1" ResBookDesigCode="S" Status="NN"> 
       <DestinationLocation LocationCode="DEL" /> 
       <MarketingAirline Code="AI" FlightNumber="216" /> 
       <OriginLocation LocationCode="KTM" /> 
      </FlightSegment> 
     </OriginDestinationInformation> 
    </OTA_AirBookRQ> 

    <PostProcessing IgnoreAfter="true"> 
     <RedisplayReservation/> 
    </PostProcessing> 
    <PreProcessing IgnoreBefore="false"> 
     <UniqueID ID="JEGYLT" /> 
    </PreProcessing> 
</EnhancedAirBookRQ> 


     </SOAP-ENV:Body> 

EnhancedAirBookRS

EnhancedAirBookRQ

[難易度:中:500325重症度PNR見つからない、コード]しかし、私はによって引き起こされる、unknow PNRコネクタのようなエラーが出ます
<?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">sabre</eb:PartyId> 
      </eb:From> 
      <eb:To> 
       <eb:PartyId eb:type="urn:x12.org:IO5:01">localhost/sabre</eb:PartyId> 
      </eb:To> 
      <eb:CPAId>3W2D</eb:CPAId> 
      <eb:ConversationId>testingId</eb:ConversationId> 
      <eb:Service eb:type="sabreXML">EnhancedAirBookRQ</eb:Service> 
      <eb:Action>EnhancedAirBookRS</eb:Action> 
      <eb:MessageData> 
       <eb:MessageId>13592644980251760</eb:MessageId> 
       <eb:Timestamp>2016-03-29T17:54:58</eb:Timestamp> 
       <eb:RefToMessageId>1426190858</eb:RefToMessageId> 
      </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\/ACPCRTD!ICESMSLB\/CRT.LB!-3421544930368575840!319427!0</wsse:BinarySecurityToken> 
     </wsse:Security> 
    </soap-env:Header> 
    <soap-env:Body> 
     <EnhancedAirBookRS xmlns="http://services.sabre.com/sp/eab/v3_2"> 
      <ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" status="NotProcessed"> 
       <Error type="Application" timeStamp="2016-03-29T12:54:58.415-05:00"> 
        <SystemSpecificResults> 
         <Message code="ERR.SP.PROVIDER_ERROR">PNR Connector unknow, caused by [PNR not found, code: 500325, severity: MODERATE]</Message> 
         <Message code="700201">PNR Connector unknow, caused by [PNR not found, code: 500325, severity: MODERATE]</Message> 
        </SystemSpecificResults> 
       </Error> 
      </ApplicationResults> 
     </EnhancedAirBookRS> 
    </soap-env:Body> 
</soap-env:Envelope> 

答えて

0

<PreProcessing IgnoreBefore="false"> 
     <UniqueID ID="JEGYLT" /> 
</PreProcessing> 

Saberは、EnhancedAirBookリクエストの残りの内容を解釈する前に、そのIDのPNRを探します。そのPNRは既存のものですか?

PNRをゼロから作成する場合(つまり、指定したフライトを新しい予約で予約する場合)、事前処理でPNR IDを指定する必要はありません(PreProcessingエレメント全体要求から)。

最後に、<PostProcessing IgnoreAfter="true">を送信する...

をサービスした後に完了し、あなたがそこに達成しようとしているのかわからなかったのすべてを無視します
関連する問題