【发布时间】:2018-01-09 14:10:07
【问题描述】:
我正在使用 Bargain Finder Max Sabre SOAP 方法,我总是收到响应版本已弃用,但我指定了 Request Version="3.4.0" 和 ResponseVersion="3.4.0"。
我的要求:
<?xml version="1.0" encoding="UTF-8"?>
<OTA_AirLowFareSearchRQ xmlns="http://www.opentravel.org/OTA/2003/05" Target="Test" Version="3.4.0" ResponseType="OTA" ResponseVersion="3.4.0">
<POS>
<Source PseudoCityCode="xxxx">
<RequestorID Type="1" Instance="1" ID="1" />
</Source>
</POS>
<OriginDestinationInformation RPH="1">
<DepartureDateTime>2018-01-15T00:00:00</DepartureDateTime>
<OriginLocation LocationCode="YYZ" />
<DestinationLocation LocationCode="SDQ" />
</OriginDestinationInformation>
<OriginDestinationInformation RPH="2">
<DepartureDateTime>2018-01-18T00:00:00</DepartureDateTime>
<OriginLocation LocationCode="SDQ" />
<DestinationLocation LocationCode="YYZ" />
</OriginDestinationInformation>
<TravelerInfoSummary>
<AirTravelerAvail>
<PassengerTypeQuantity Code="ADT" Quantity="1" />
</AirTravelerAvail>
<PriceRequestInformation CurrencyCode="USD" />
</TravelerInfoSummary>
<TPA_Extensions>
<IntelliSellTransaction>
<RequestType Name="50ITIN" />
</IntelliSellTransaction>
</TPA_Extensions>
</OTA_AirLowFareSearchRQ>
回复:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<OTA_AirLowFareSearchRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.0">
<Errors>
<Error Type="SRV.DRE" Code="REQ.FLR" ShortText="dre request failed" />
<Error Type="IF2" Code="PROCESS" ShortText="PROCESSING ERROR DETECTED" />
<Error Type="MAIN" Code="DEPRECATEDRS" ShortText="This response version is deprecated and will be decommissioned once a newer version is released." />
<Error Type="WORKERTHREAD" Code="TRANSACTIONID" ShortText="6572224660929009932" />
<Error Type="SERVER" Code="TTFHLC850" ShortText="27042" />
<Error Type="ERR" Code="ERR" ShortText="Error during Processing" />
</Errors>
</OTA_AirLowFareSearchRS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
感谢您的帮助。
【问题讨论】: