单程旅行的我的请求和响应 xml StructureFareRulesRQ。这对于单个 OriginDestinationOption 效果很好。但如果停止两次或两次以上,则会返回错误。但如果停止两次或两次以上,则会返回错误。但如果停止两次或两次以上,则会返回错误。但如果停止两次或两次以上,则会返回错误。
<StructureFareRulesRQ xmlns="http://webservices.sabre.com/sabreXML/2003/07" Version="1.0.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PriceRequestInformation BuyingDate="2019-05-17T04:41:34" CurrencyCode="NPR">
<PassengerTypes>
<PassengerType Code="ADT" Count="1"/>
</PassengerTypes>
<ReturnAllData Value="1"/>
<FreeBaggageSubscriber Ind="true"/>
</PriceRequestInformation>
<AirItinerary>
<OriginDestinationOptions>
<OriginDestinationOption>
<FlightSegment DepartureDate="2019-06-19T15:50:00" ArrivalDate="2019-06-19T18:25:00" BookingDate="2019-05-17T04:41:34" FlightNumber="249" RealReservationStatus="SS" ResBookDesigCode="K" SegmentNumber="1" SegmentType="A">
<DepartureAirport LocationCode="KTM"/>
<ArrivalAirport LocationCode="BOM"/>
<MarketingAirline Code="9W"/>
<OperatingAirline Code="9W"/>
</FlightSegment>
<SegmentInformation SegmentNumber="1"/>
<PaxTypeInformation PassengerType="ADT" FareComponentNumber="1" FareBasisCode="K2OWNP"/>
</OriginDestinationOption>
<OriginDestinationOption>
<FlightSegment DepartureDate="2019-06-19T22:35:00" ArrivalDate="2019-06-20T00:55:00" BookingDate="2019-05-17T04:41:34" FlightNumber="310" RealReservationStatus="SS" ResBookDesigCode="K" SegmentNumber="2" SegmentType="A">
<DepartureAirport LocationCode="BOM"/>
<ArrivalAirport LocationCode="DEL"/>
<MarketingAirline Code="9W"/>
<OperatingAirline Code="9W"/>
</FlightSegment>
<SegmentInformation SegmentNumber="2"/>
<PaxTypeInformation PassengerType="ADT" FareComponentNumber="2" FareBasisCode="K2OWNP"/>
</OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
</StructureFareRulesRQ>
<StructureFareRulesRS Version="1.0.4" xmlns="http://webservices.sabre.com/sabreXML/2003/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Errors>
<Error ErrorCode="005106" ErrorMessage="FORMAT FARE BASIS NOT AVAILABLE"/>
</Errors>
</StructureFareRulesRS>
我收到此错误,你能帮我吗?
<soap-env:Body>
<soap-env:Fault>
<faultcode>soap-env:Client.InvalidAction</faultcode>
<faultstring>Action specified in EbxmlMessage does not exist.</faultstring>
<detail>
<StackTrace>com.sabre.universalservices.base.exception.ApplicationException: errors.xml.USG_INVALID_ACTION</StackTrace>
</detail>
</soap-env:Fault>
</soap-env:Body>
这是我的要求
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
<wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary">token</wsse:BinarySecurityToken>
</wsse:Security>
</soap-env:Header>
<soap-env:Body>
<StructureFareRulesRQ xmlns="http://webservices.sabre.com/sabreXML/2003/07" Version="1.0.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PriceRequestInformation BuyingDate="2019-05-17T04:41:34" CurrencyCode="NPR">
<PassengerTypes>
<PassengerType Code="ADT" Count="1"/>
</PassengerTypes>
<ReturnAllData Value="1"/>
<FreeBaggageSubscriber Ind="true"/>
</PriceRequestInformation>
<AirItinerary>
<OriginDestinationOptions>
<OriginDestinationOption>
<FlightSegment DepartureDate="2019-06-19T15:50:00" ArrivalDate="2019-06-19T18:25:00" BookingDate="2019-05-17T04:41:34" FlightNumber="249" RealReservationStatus="SS" ResBookDesigCode="K" SegmentNumber="1" SegmentType="A">
<DepartureAirport LocationCode="KTM"/>
<ArrivalAirport LocationCode="BOM"/>
<MarketingAirline Code="9W"/>
<OperatingAirline Code="9W"/>
</FlightSegment>
<SegmentInformation SegmentNumber="1"/>
<PaxTypeInformation PassengerType="ADT" FareComponentNumber="1" FareBasisCode="K2OWNP"/>
</OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
</StructureFareRulesRQ>
</soap-env:Body>
</soap-env:Envelope>