从今天早上开始,我无法获取我的查询结果。其他人也有同样的错误吗?
不知何故,它是在说这个版本已经被弃用了,它将被新版本取代。但我不记得我收到过任何关于这次升级的通知。:/
谢谢你的帮助。
请求:
<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>发布于 2017-02-18 22:47:48
好了,现在它又开始工作了,所以你可以认为这个问题已经解决了!
发布于 2019-02-07 17:13:09
如果您直接使用github中的代码,请确保将代码更改为BargainFinderMaxSoapActivity类的getRequest方法。他们确实硬编码了日期、时间和地点。因此,它不是拿起一个你正在养活的形式。
https://stackoverflow.com/questions/42313588
复制相似问题