自从今天早上以来,我无法获得我的查询结果。其他人有同样的错误?
以某种方式说该版本已弃用,并将其替换为新版本。但是我不记得我收到了有关此升级的任何通知。:/
谢谢您的帮助。
请求:
<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>
好吧,它现在再次工作,因此您可以将其视为已解决!
如果直接从GitHub使用代码,请确保将代码更改为BargainFinderMaxSoapActivity
类的getRequest
方法。他们确实将日期时间和位置进行了硬编码。因此,它不捡起您要喂的形式。