Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why getting Error in AirCreateReservationReq #265

Open
saaqeb opened this issue Oct 24, 2022 · 2 comments
Open

Why getting Error in AirCreateReservationReq #265

saaqeb opened this issue Oct 24, 2022 · 2 comments

Comments

@saaqeb
Copy link

saaqeb commented Oct 24, 2022

Please review the getting error

Name. Number Hide with XXXX for sharing the information here

https://drive.google.com/file/d/1_b8eyJZej-lkgYM8JQw3CM74W1CqU9lD/view?usp=sharing

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
SOAP-ENV:Body
SOAP-ENV:Fault
SOAP-ENV:faultcode400</SOAP-ENV:faultcode>
SOAP-ENV:faultstringTPGateway - Request data not found - Request ignored - service name = AirService username = Universal API/uAPI7648806979-241d6447</SOAP-ENV:faultstring>
SOAP-ENV:faultactor</SOAP-ENV:faultactor>
SOAP-ENV:detailTPGateway - Request data not found - Request ignored - service name = AirService username = Universal API/uAPI7648806979-241d6447</SOAP-ENV:detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

### For Request

<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
soap:Body
<univ:AirCreateReservationReq RetainReservation="Both" RetrieveProviderReservationDetails="true" TraceId="1232346" TargetBranch="XXXHIDEXXXXX" AuthorizedBy="user" Version="0"
xmlns:univ="http://www.travelport.com/schema/universal_v50_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPI"
xmlns:com="http://www.travelport.com/schema/common_v50_0"/>
<com:BookingTraveler Key="0" TravelerType="ADT" Age="30" Gender="M" Nationality="IN">
<com:BookingTravelerName Prefix="MR" First="NAZMUS" Last="NAYEEM"/>
<com:PhoneNumber Number="XXXXXXX" Type="Mobile" Text=""/>
<com:Email EmailID="[email protected]"/>
<com:SSR Key="EORF81" Type="DOCS" Carrier="BG" Status="HK" FreeText="P/IN/E123456/BD/24OCT85/M/20SEP24/LASTNAME/FIRSTNAME"/>
</com:BookingTraveler>
<com:FormOfPayment
xmlns:com="http://www.travelport.com/schema/common_v50_0" Type="Cash"/>
<air:AirPricingSolution Key="dGjEYP/pWDKAYvzyGAAAAA==" TotalPrice="USD249.20" BasePrice="USD165.00" ApproximateTotalPrice="USD249.20" ApproximateBasePrice="USD165.00" Taxes="USD84.20" Fees="USD0.00" ApproximateTaxes="USD84.20" QuoteDate="2022-10-25">
<air:AirSegment Key="dGjEYP/pWDKAWvzyGAAAAA==" Group="0" Carrier="BG" FlightNumber="388" ProviderCode="1G" Origin="DAC" Destination="BKK" DepartureTime="2022-12-10T11:30:00.000+06:00" ArrivalTime="2022-12-10T15:00:00.000+07:00" FlightTime="150" TravelTime="150" Distance="963" ClassOfService="K" Equipment="738" ChangeOfPlane="false" OptionalServicesIndicator="false" AvailabilitySource="S" ParticipantLevel="Secure Sell" PolledAvailabilityOption="O and D cache or polled status used with different local status" AvailabilityDisplayType="Fare Specific Fare Quote Unbooked">
<air:CodeshareInfo OperatingCarrier="BG">Biman Bangladesh Airlines</air:CodeshareInfo>
<air:FlightDetails Key="dGjEYP/pWDKAXvzyGAAAAA==" Origin="DAC" Destination="BKK" DepartureTime="2022-12-10T11:30:00.000+06:00" ArrivalTime="2022-12-10T15:00:00.000+07:00" FlightTime="150" TravelTime="150" Distance="963"/>
</air:AirSegment>
<air:AirPricingInfo Key="dGjEYP/pWDKAavzyGAAAAA==" TotalPrice="USD249.20" BasePrice="USD165.00" ApproximateTotalPrice="USD249.20" ApproximateBasePrice="USD165.00" ApproximateTaxes="USD84.20" Taxes="USD84.20" LatestTicketingTime="2022-10-28T23:59:00.000+11:00" PricingMethod="Guaranteed" Refundable="true" IncludesVAT="false" ETicketability="Yes" PlatingCarrier="BG" ProviderCode="1G">
<air:FareInfo Key="dGjEYP/pWDKAjvzyGAAAAA==" FareBasis="KBDO" PassengerTypeCode="ADT" Origin="DAC" Destination="BKK" EffectiveDate="2022-10-26T06:55:00.000+11:00" DepartureDate="2022-12-10" Amount="USD165.00" NegotiatedFare="false" NotValidBefore="2022-12-10" NotValidAfter="2022-12-10" TaxAmount="USD84.20">
<common_v50_0:Endorsement Value="VALID ON BG ONLY/NONEND"/>
<air:FareRuleKey FareInfoRef="dGjEYP/pWDKAjvzyGAAAAA==" ProviderCode="1G">6UUVoSldxwgnsV+2GfdklcbKj3F8T9EyxsqPcXxP0TLGyo9xfE/RMsuWFfXVd1OAly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA0dXJQFphZGHxWa1uaqI55k3aSkvhp2ybfxLi9k9n5EYWLYcyk8rRx/AyGqh8JIaqK/03y0HeJqfQ7JlAhjEx9SK4CyywU9wncCIbRqMTJch6v9tEaRJgF5C/YIEuJEelsx78hUNe2Mz2hhniiT1pqRJTyB5x9tYSQLWhthMb3jl0l9yfYThEhVbpVI1GwT2fW0N03Bf4LZGly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA2+QKPIWaRvq6oxE1UL944DjaSte7T4ddDlN7mTMg9NhHquy8jtiIhtkZrs0WzT4AkyYwgMLEex1gxRzNoElSNc=</air:FareRuleKey>
</air:FareInfo>
<air:BookingInfo BookingCode="K" CabinClass="Economy" FareInfoRef="dGjEYP/pWDKAjvzyGAAAAA==" SegmentRef="dGjEYP/pWDKAWvzyGAAAAA==" HostTokenRef="dGjEYP/pWDKAZvzyGAAAAA=="/>
<air:TaxInfo Category="BD" Amount="USD5.40" Key="dGjEYP/pWDKAbvzyGAAAAA=="/>
<air:TaxInfo Category="OW" Amount="USD21.40" Key="dGjEYP/pWDKAcvzyGAAAAA=="/>
<air:TaxInfo Category="P7" Amount="USD10.00" Key="dGjEYP/pWDKAdvzyGAAAAA=="/>
<air:TaxInfo Category="P8" Amount="USD10.00" Key="dGjEYP/pWDKAevzyGAAAAA=="/>
<air:TaxInfo Category="UT" Amount="USD32.20" Key="dGjEYP/pWDKAfvzyGAAAAA=="/>
<air:TaxInfo Category="E7" Amount="USD1.00" Key="dGjEYP/pWDKAgvzyGAAAAA=="/>
<air:TaxInfo Category="G8" Amount="USD0.40" Key="dGjEYP/pWDKAhvzyGAAAAA=="/>
<air:TaxInfo Category="E5" Amount="USD3.80" Key="dGjEYP/pWDKAivzyGAAAAA=="/>
air:FareCalcDAC BG BKK 165.00KBDO NUC165.00END ROE1.0</air:FareCalc>
<air:PassengerType Code="ADT"/>
<air:ChangePenalty PenaltyApplies="Before Departure">
air:AmountUSD30.00</air:Amount>
</air:ChangePenalty>
<air:CancelPenalty PenaltyApplies="Anytime">
air:AmountUSD150.00</air:Amount>
</air:CancelPenalty>
air:BaggageAllowances
<air:BaggageAllowanceInfo TravelerType="ADT" Origin="DAC" Destination="BKK" Carrier="BG">
air:URLInfo
air:URLVIEWTRIP.TRAVELPORT.COM/BAGGAGEPOLICY/BG</air:URL>
</air:URLInfo>
air:TextInfo
air:Text30K</air:Text>
air:TextBAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</air:Text>
</air:TextInfo>
<air:BagDetails ApplicableBags="1stChecked">
air:BaggageRestriction
air:TextInfo
air:TextCHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
<air:BagDetails ApplicableBags="2ndChecked">
air:BaggageRestriction
air:TextInfo
air:TextCHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:BagDetails>
</air:BaggageAllowanceInfo>
<air:CarryOnAllowanceInfo Origin="DAC" Destination="BKK" Carrier="BG">
air:TextInfo
air:Text7K</air:Text>
</air:TextInfo>
<air:CarryOnDetails ApplicableCarryOnBags="1">
air:BaggageRestriction
air:TextInfo
air:TextCHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
<air:CarryOnDetails ApplicableCarryOnBags="2">
air:BaggageRestriction
air:TextInfo
air:TextCHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</air:Text>
</air:TextInfo>
</air:BaggageRestriction>
</air:CarryOnDetails>
</air:CarryOnAllowanceInfo>
</air:BaggageAllowances>
</air:AirPricingInfo>
<air:FareNote Key="dGjEYP/pWDKA5vzyGAAAAA==">LAST DATE TO PURCHASE TICKET: 28OCT22 SYD</air:FareNote>
<air:FareNote Key="dGjEYP/pWDKA6vzyGAAAAA==">TICKETING AGENCY 5Y03</air:FareNote>
<air:FareNote Key="dGjEYP/pWDKA7vzyGAAAAA==">DEFAULT PLATING CARRIER BG</air:FareNote>
<air:FareNote Key="dGjEYP/pWDKA8vzyGAAAAA==">E-TKT REQUIRED</air:FareNote>
<air:FareNote Key="dGjEYP/pWDKA9vzyGAAAAA==">TICKETING FEES MAY APPLY</air:FareNote>
<common_v50_0:HostToken Key="dGjEYP/pWDKAZvzyGAAAAA==">GFB10101ADT00 01KBDO 010001#GFB200010101NADTV3008AS1000200001991M#GFMCER 008NAS10 BG ADTKBDO</common_v50_0:HostToken>
</air:AirPricingSolution>
<com:ActionStatus TicketDate="2022-10-25" Type="TAU" ProviderCode="1G"
xmlns:com="http://www.travelport.com/schema/common_v50_0"/>
</univ:AirCreateReservationReq>
</soap:Body>
</soap:Envelope>

@sharma-hitesh
Copy link

In my experience this error comes when the XML data in the request body is malformed.

@saaqeb
Copy link
Author

saaqeb commented Oct 25, 2022

@sharma-hitesh

Can you tell me what is the error when creation session as below


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:shar="http://www.travelport.com/schema/sharedBooking_v52_0" xmlns:com="http://www.travelport.com/schema/common_v52_0">
soapenv:Header/
soapenv:Body
<shar:BookingStartReq TargetBranch="P7038885" AuthorizedBy="TVPT" LanguageCode="EN" ProviderCode="1G">
<com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
</shar:BookingStartReq>
</soapenv:Body>
</soapenv:Envelope>


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants