首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >AirLowFareSearchRQ不再工作了吗?

AirLowFareSearchRQ不再工作了吗?
EN

Stack Overflow用户
提问于 2017-02-18 17:49:01
回答 2查看 572关注 0票数 0

从今天早上开始,我无法获取我的查询结果。其他人也有同样的错误吗?

不知何故,它是在说这个版本已经被弃用了,它将被新版本取代。但我不记得我收到过任何关于这次升级的通知。:/

谢谢你的帮助。

请求:

代码语言:javascript
复制
<OTA_AirLowFareSearchRQ PrimaryLangID="fr" Version="1.4.0" xmlns="http://www.opentravel.org/OTA/2003/05">
 <POS>
  <Source PseudoCityCode="9TB9">
   <RequestorID ID="1" Type="1">
     <CompanyName Code="##">####</CompanyName>
   </RequestorID>
  </Source>
 </POS>
 <OriginDestinationInformation RPH="1">
  <DepartureDateTime>2017-05-13T13:00:00</DepartureDateTime>
  <DepartureWindow>11001500</DepartureWindow>
  <OriginLocation LocationCode="NCE"/>
  <DestinationLocation LocationCode="PAR"/>
  <TPA_Extensions>
   <SegmentType Code="O"/>
  </TPA_Extensions>
 </OriginDestinationInformation>
 <TravelPreferences MaxStopsQuantity="2"/>
  <TravelerInfoSummary>
   <SeatsRequested>1</SeatsRequested>
   <AirTravelerAvail>
    <PassengerTypeQuantity Code="ITX" Quantity="1"/>
   </AirTravelerAvail>
   <PriceRequestInformation CurrencyCode="EUR">
    <TPA_Extensions>
     <PublicFare Ind="false"/>
     <PrivateFare Ind="true"/>
     <Priority>
       <Price Priority="1"/>
       <DirectFlights Priority="2"/>
       <Time Priority="3"/>
       <Vendor Priority="4"/>
     </Priority>
   </TPA_Extensions>
  </PriceRequestInformation>
 </TravelerInfoSummary>
 <TPA_Extensions>
  <IntelliSellTransaction>
   <RequestType Name="100ITINS"/>
  </IntelliSellTransaction>
 </TPA_Extensions>
</OTA_AirLowFareSearchRQ>

响应:

代码语言:javascript
复制
<OTA_AirLowFareSearchRS Version="1.4.0" PricedItinCount="0" BrandedOneWayItinCount="0" SimpleOneWayItinCount="0" DepartedItinCount="0" SoldOutItinCount="0" AvailableItinCount="0" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <Errors>
  <Error Type="SCHEDULES" Code="PROCESS" ShortText="Communication error code=104: Connection reset by peer"/>
  <Error Type="IF2" Code="PROCESS" ShortText="No complete journey can be built in IF2/ADVJR1."/>
  <Error Type="MAIN" Code="DEPRECATEDRS" ShortText="This response version is deprecated and will be decommissioned once two newer versions are released."/>
  <Error Type="WORKERTHREAD" Code="TRANSACTIONID" MessageClass="I" ShortText="3418533871368693570"/>
  <Error Type="SERVER" Code="TTFHLP683" MessageClass="I" ShortText="27042"/>
  <Error Type="DEFAULT" Code="RULEID" MessageClass="I" ShortText="18561"/>
  <Error Type="DRE" Code="RULEID" MessageClass="I" ShortText="15957"/>
  <Error Type="SCHEDULES" Code="MSG" MessageClass="I" ShortText="NO FLIGHT SCHEDULES FOR QUALIFIERS USED"/>
  <Error Type="ERR" Code="ERR" ShortText="Error during Processing"/>
 </Errors>
</OTA_AirLowFareSearchRS>
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2017-02-18 22:47:48

好了,现在它又开始工作了,所以你可以认为这个问题已经解决了!

票数 0
EN

Stack Overflow用户

发布于 2019-02-07 17:13:09

如果您直接使用github中的代码,请确保将代码更改为BargainFinderMaxSoapActivity类的getRequest方法。他们确实硬编码了日期、时间和地点。因此,它不是拿起一个你正在养活的形式。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42313588

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档