从今天早上起,我无法获得查询结果。其他人有同样的错误吗?
它以某种方式说该版本已被弃用,并将被新版本替换。但我不记得我收到有关此升级的任何通知。 :/
感谢您的帮助。
请求:
<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>
响应:
<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>
答案 0 :(得分:0)
好了它现在又恢复了,所以你可以认为这已经解决了!
答案 1 :(得分:0)
如果您直接从github使用代码,请确保将代码更改为BargainFinderMaxSoapActivity
类的getRequest
方法。他们确实对日期时间和位置进行了硬编码。因此,它不会捡起您正在喂食的食物。