Travelport / travelport-uapi-tutorial

The travelport-uapi-tutorial is a Java project for Universal API that will help you connect and code a standard workflow including Air and Hotel.
45 stars 34 forks source link

Uncaught Service Exception cause:com.cendant.tds.soa.framework.ServiceException: Exception ReturnedERR: AGENT ID - GALILEO #3

Open neodescorpio opened 9 years ago

neodescorpio commented 9 years ago

receiving this error when i am trying to reserve an airticket. Please can you help me ?

vivekjyotipramanik commented 9 years ago

Hi neodescorpio,

Could you please give me the request XML you are using and what is the endpoint URL you are using. Also, Please post the complete response XML here. Thanks.

Thanks & Regards Vivekjyoti Pramanik

neodescorpio commented 9 years ago

Endpoint :

https://emea.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/AirService

Here is the generated XML By request :

<?xml version="1.0"?>
<AirCreateReservationReq xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                         TraceId="trace"
                         AuthorizedBy="user"
                         TargetBranch="value"
                         RetrieveProviderReservationDetails="true"
                         RetainReservation="Both">
    <BillingPointOfSaleInfo OriginApplication="UAPI"
                            xmlns="http://www.travelport.com/schema/common_v29_0" />
    <AgentIDOverride SupplierCode="value"
                     ProviderCode="1G"
                     AgentID="Value"
                     xmlns="http://www.travelport.com/schema/common_v29_0" />
    <BookingTraveler Key="1"
                     TravelerType="ADT"
                     Gender="M"
                     xmlns="http://www.travelport.com/schema/common_v29_0">
        <BookingTravelerName First="firstname"
                             Last="lastname" />
        <DeliveryInfo>
            <ShippingAddress>
                <AddressName>AddressName</AddressName>
                <Street>street no</Street>
                <City>Denver</City>
                <State>CO</State>
                <PostalCode>80206</PostalCode>
                <Country>US</Country>
            </ShippingAddress>
        </DeliveryInfo>
        <PhoneNumber Location="DEN"
                     CountryCode="1"
                     AreaCode="303"
                     Number="1232146580" />
        <Email Type="Home"
               EmailID="me@domain.com" />
    </BookingTraveler>
    <AirPricingSolution Key="lNTFlbifRDOSGQV0aMHibw=="
                        QuoteDate="2015-03-21"
                        TotalPrice="AED3650"
                        BasePrice="AED3570"
                        ApproximateTotalPrice="AED3650"
                        ApproximateBasePrice="AED3570"
                        Taxes="AED80.00"
                        xmlns="http://www.travelport.com/schema/air_v29_0">
        <AirSegment Key="h7Zq9hbwRUCNV1jq5nyXZQ=="
                    AvailabilitySource="S"
                    OptionalServicesIndicator="false"
                    ClassOfService="L"
                    AvailabilityDisplayType="Fare Specific Fare Quote Unbooked"
                    Group="0"
                    Carrier="EY"
                    FlightNumber="19"
                    Origin="AUH"
                    Destination="LHR"
                    DepartureTime="2015-03-31T08:35:00.000+04:00"
                    ArrivalTime="2015-03-31T13:05:00.000+01:00"
                    FlightTime="450"
                    TravelTime="450"
                    Distance="3403"
                    ProviderCode="1G"
                    PolledAvailabilityOption="O and D cache or polled status used with different local status">
            <FlightDetails DestinationTerminal="4"
                           OriginTerminal="3"
                           Equipment="77W"
                           TravelTime="450"
                           FlightTime="450"
                           DepartureTime="2015-03-31T08:35:00.000+04:00"
                           Destination="LHR"
                           Origin="AUH"
                           Key="dRMkiqKLTUu4vRnpL21xpQ==">
                <Meals>Meal</Meals>
                <InFlightServices>Non-smoking</InFlightServices>
            </FlightDetails>
        </AirSegment>
        <AirPricingInfo LatestTicketingTime="2015-03-31T23:59:00.000+04:00"
                        PricingMethod="Guaranteed"
                        ETicketability="Yes"
                        PlatingCarrier="EY"
                        Refundable="true"
                        Taxes="AED80.00"
                        IncludesVAT="false"
                        Key="Hc4P9TmMTgyupelzNjKWUg=="
                        TotalPrice="AED3650"
                        BasePrice="AED3570"
                        ApproximateTotalPrice="AED3650"
                        ApproximateBasePrice="AED3570"
                        ProviderCode="1G">
            <FareInfo NotValidAfter="2015-03-31"
                      NotValidBefore="2015-03-31"
                      Amount="AED3570"
                      DepartureDate="2015-03-31"
                      EffectiveDate="2015-03-21T11:54:00.000+04:00"
                      Destination="LHR"
                      Origin="AUH"
                      PassengerTypeCode="ADT"
                      FareBasis="LHOWAE"
                      Key="YFW4d/ZXRG238fcLJ2RsnQ==">
                <FareSurcharge Key="4UU5uQ0PSs24eUpgLA1R4w=="
                               Type="Other"
                               Amount="NUC50.00" />
                <FareSurcharge Key="g7zM0208RImZVjfQe7QFww=="
                               Type="Other"
                               Amount="NUC3.00" />
                <Endorsement Value="VALID ON EY ONLY"
                             xmlns="http://www.travelport.com/schema/common_v29_0" />
                <FareRuleKey FareInfoRef="YFW4d/ZXRG238fcLJ2RsnQ=="
                             ProviderCode="1G">6UUVoSldxwhGmrSmDi/r58bKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA4mQU42a9TXqM3ExqSoG051ozt59pu8Tf2ZbRWeXlOUaQu0ZscBMSQ5d2/MbJh0jzT8ls56gDaRX117DKTT/alSWWdwS4Dg2ycsiOHFaFMf8hf6E18cRejGVqfCTByZWBwySKklc3b69R+CkqJofvBnqNbjwzJx7oo0sKBvhNXxaCZX4Hy9CLnF/f0cikpjGSIq+cJFUBzrily5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA3N5jV9Rrzq8txHW6jzw2UbAQJCzzE4cyRdC+Ntdki8rlXUO2XeQvQwOM/IOQpFDgccDqM61KPzc</FareRuleKey>
            </FareInfo>
            <BookingInfo BookingCode="L"
                         CabinClass="Economy"
                         FareInfoRef="YFW4d/ZXRG238fcLJ2RsnQ=="
                         SegmentRef="h7Zq9hbwRUCNV1jq5nyXZQ==" />
            <TaxInfo Key="TWkADpd1RdS46aEaRNYfrg=="
                     Category="AE"
                     Amount="AED75" />
            <TaxInfo Key="mMbqQ/GRSeqa21z8mA3iCQ=="
                     Category="TP"
                     Amount="AED5" />
            <FareCalc>AUH EY LON Q3.00Q50.00 917.49LHOWAE NUC970.49END ROE3.67305</FareCalc>
            <PassengerType Code="ADT"
                           BookingTravelerRef="1" />
            <ChangePenalty>
                <Amount>AED200.00</Amount>
            </ChangePenalty>
            <CancelPenalty>
                <Amount>AED200.00</Amount>
            </CancelPenalty>
            <BaggageAllowances>
                <BaggageAllowanceInfo Origin="AUH"
                                      Destination="LON"
                                      Carrier="EY"
                                      TravelerType="ADT">
                    <URLInfo>
                        <URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSEY.BAGG</URL>
                    </URLInfo>
                    <TextInfo>
                        <Text>30K</Text>
                        <Text>BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</Text>
                    </TextInfo>
                    <BagDetails ApplicableBags="1stChecked">
                        <BaggageRestriction>
                            <TextInfo>
                                <Text>CHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</Text>
                            </TextInfo>
                        </BaggageRestriction>
                    </BagDetails>
                    <BagDetails ApplicableBags="2ndChecked">
                        <BaggageRestriction>
                            <TextInfo>
                                <Text>CHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</Text>
                            </TextInfo>
                        </BaggageRestriction>
                    </BagDetails>
                </BaggageAllowanceInfo>
                <CarryOnAllowanceInfo Origin="AUH"
                                      Destination="LON"
                                      Carrier="EY">
                    <TextInfo>
                        <Text>BAGGAGE ALLOWANCE DATA NOT AVAILABLE</Text>
                    </TextInfo>
                </CarryOnAllowanceInfo>
            </BaggageAllowances>
        </AirPricingInfo>
        <FareNote Key="W1IOnwcBQ0G0BxedGp2O8Q==">LAST DATE TO PURCHASE TICKET: 31MAR15</FareNote>
        <FareNote Key="V1Ncoq6xQSegLKMxXIMH4A==">TICKETING AGENCY 369W</FareNote>
        <FareNote Key="JaCzcDI3TD+maZDTrYwP3w==">DEFAULT PLATING CARRIER EY</FareNote>
        <FareNote Key="QT4puW6ZRmWRkNa859Rx4A==">FARE HAS A PLATING CARRIER RESTRICTION</FareNote>
        <FareNote Key="OriNvrsERniVVijQ42E2/w==">E-TKT REQUIRED</FareNote>
        <FareNote Key="4FdJ577FThi2phum6zBvkA==">TICKETING FEES MAY APPLY</FareNote>
    </AirPricingSolution>
    <ActionStatus Type="TAW"
                  TicketDate="2015-03-31T23:59:00.000+04:00"
                  ProviderCode="1G"
                  xmlns="http://www.travelport.com/schema/common_v29_0" />
    <FormOfPayment Type="Cash"
                   Key="jwt2mcK1Qp27I2xfpcCtAw=="
                   xmlns="http://www.travelport.com/schema/common_v29_0" />
</AirCreateReservationReq>

here is the SOAPException inner outer XML

<!-- INNER XML -->
<common_v27_0:ErrorInfo xmlns:common_v27_0=\"http://www.travelport.com/schema/common_v27_0\">
    <common_v27_0:Code>some numeric code</common_v27_0:Code>
    <common_v27_0:Service>AIRSVC</common_v27_0:Service>
    <common_v27_0:Type>Business</common_v27_0:Type>
    <common_v27_0:Description>Unsuccessful primary host transaction causing reservation failure.</common_v27_0:Description>
    <common_v27_0:TransactionId>some alpha numeric ID</common_v27_0:TransactionId>
    <common_v27_0:TraceId>some alpha numeric ID</common_v27_0:TraceId>
</common_v27_0:ErrorInfo>
<!-- OUTER XML -->
<detail>
    <common_v27_0:ErrorInfo xmlns:common_v27_0=\"http://www.travelport.com/schema/common_v27_0\">
        <common_v27_0:Code>some numeric code</common_v27_0:Code>
        <common_v27_0:Service>AIRSVC</common_v27_0:Service>
        <common_v27_0:Type>Business</common_v27_0:Type>
        <common_v27_0:Description>Unsuccessful primary host transaction causing reservation failure.</common_v27_0:Description>
        <common_v27_0:TransactionId>some alpha numeric ID</common_v27_0:TransactionId>
        <common_v27_0:TraceId>some alpha numeric ID</common_v27_0:TraceId>
    </common_v27_0:ErrorInfo>
</detail>```
tedbeatie commented 9 years ago

'ERR: AGENT ID' looks to be a different error than the one in the response above, but may be a provisioning issue with your credentials. Try contacting us at https://developer.travelport.com/app/developer-network/contact-formpage and someone may be able to help you.

neodescorpio commented 9 years ago

I have send some queries to them, i'll use this form also.

vivekjyotipramanik commented 9 years ago

Hi neodescorpio,

I am not seeing correct targetBranch in your request. The target branch should be an alpha numeric number and as you are giving wrong targetBranch as "value" the request is failing. Please check your welcome letter or trial account details and input correct targetBranch in the request. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

vivekjyotipramanik commented 9 years ago

Hi neodescorpio,

Could you please confirm if after using the correct TargetBranch the request is working fine. If so, Please let me know if I can go ahead and close the defect. Thanks.

Thanks & Regards Vivekjyoti Pramanik

vivekjyotipramanik commented 9 years ago

Hi neodescorpio,

Please confirm if the correct targetBranch is working fine for you. If not please let us know. We are closing this defect. Please feel free to reopen the defect if it is still not working. Thanks.

Thanks & Regards Vivekjyoti Pramanik

neodescorpio commented 9 years ago

@tedbeatie was right It was the credentials issue. It's solve. Thank you all for your time

hourkaing commented 8 years ago

Hi vivekjyotipramanik,

I have got the same message too but, in my case, I don't think it is the problem of TargetBranch. Can you help me, please?


End point: https://apac.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/kestrel/AirService

Request XML:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:univ="http://www.travelport.com/schema/universal_v33_0" xmlns:com="http://www.travelport.com/schema/common_v33_0" xmlns:air="http://www.travelport.com/schema/air_v33_0">
    <soapenv:Body>
        <univ:AirCreateReservationReq TraceId="Numeric Value" TargetBranch="Numeric Value" >
            <com:BillingPointOfSaleInfo OriginApplication="UAPI" />
            <com:BookingTraveler Key="7410852" TravelerType="ADT" Age="40" VIP="false" DOB="1990-10-10" Gender="M" Nationality="kh">
                <com:BookingTravelerName Prefix="Mr." First="Ftest" Middle="Mtest" Last="Ltest" Suffix="ML."/>
                <!--Zero or more repetitions:-->
                <com:PhoneNumber Type="Mobile" CountryCode="855" Number="11552244">
                </com:PhoneNumber>
                <!--Zero or more repetitions:-->
                <com:Email EmailID="test@gmail.com">
                </com:Email>
                <com:EmergencyInfo>Emergency Infomation</com:EmergencyInfo>
            </com:BookingTraveler>
            <!--Zero or more repetitions:-->
            <air:AirPricingSolution Key="6T" TotalPrice="AUD438.50" BasePrice="USD190.00" ApproximateTotalPrice="AUD438.50" ApproximateBasePrice="AUD272.00" EquivalentBasePrice="AUD272.00" Taxes="AUD166.50" ApproximateTaxes="AUD166.50" Fees="CAD72.00">                

                <air:AirSegment Key="UsgZLqW0QjqfnoBYD98oGw==" Group="0" ProviderCode="1G" Carrier="PG" FlightNumber="938" Origin="PNH" Destination="BKK" DepartureTime="2015-11-22T06:15:00.000+07:00" ArrivalTime="2015-11-22T07:25:00.000+07:00" FlightTime="70" Distance="322" ETicketability="Yes" Equipment="320" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="L" AvailabilityDisplayType="Fare Shop/Optimal Shop">
                    <air:CodeshareInfo OperatingCarrier="PG" OperatingFlightNumber="938"/>
                </air:AirSegment>
                <air:AirSegment Key="ivvxA7K6T0qUJ6svmtuwIw==" Group="1" ProviderCode="1G" Carrier="PG" FlightNumber="931" Origin="BKK" Destination="PNH" DepartureTime="2015-11-30T08:20:00.000+07:00" ArrivalTime="2015-11-30T09:30:00.000+07:00" FlightTime="70" Distance="322" ETicketability="Yes" Equipment="320" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="L" AvailabilityDisplayType="Fare Shop/Optimal Shop">
                    <air:CodeshareInfo OperatingCarrier="PG" OperatingFlightNumber="931"/>
                </air:AirSegment>
                <air:AirPricingInfo Key="vl8X4a9wTK2XVBN5/BCoow==" TotalPrice="AUD438.50" BasePrice="USD190.00" ApproximateTotalPrice="AUD438.50" ApproximateBasePrice="AUD272.00" EquivalentBasePrice="AUD272.00" Taxes="AUD166.50" LatestTicketingTime="2015-10-31" PricingMethod="GuaranteedUsingAirlinePrivateFare" ETicketability="Yes" PlatingCarrier="PG" ProviderCode="1G">
                    <air:FareInfo Key="HLzIR1M7Ria3U8TDOzPvew==" FareBasis="T3MDJKH" PassengerTypeCode="ADT" Origin="PNH" Destination="BKK" EffectiveDate="2015-10-22T03:18:00.000+00:00" DepartureDate="2015-11-22" Amount="AUD136.00" NegotiatedFare="false" PrivateFare="AirlinePrivateFare" NotValidAfter="2016-02-22" PseudoCityCode="A0B">
                        <air:BaggageAllowance>
                            <air:MaxWeight Value="20" Unit="Kilograms"/>
                        </air:BaggageAllowance>
                        <air:FareRuleKey FareInfoRef="HLzIR1M7Ria3U8TDOzPvew==" ProviderCode="1G">gws-eJxNT0EOwyAMe0zle0iLCjfaso6VDVVaN6mX/f8ZS0CTZmSDiElMCIHJWEPM4Q8dcMrC84z3GwqM0DcAE82od2JQERPKFI83OzfkZImIhWS8txsAPaLbryivRR+ycM4ZXpy18wnqxwFH/4hbTqiBDKut1GpTHUUUeXEgrHalVlHgrLqX9Gva4SN/IOh4XJJsmrCFc+Sck2SEEZLqC/fYOKI=</air:FareRuleKey>
                    </air:FareInfo>
                    <air:FareInfo Key="oSmDyNZBTtypLc+nS0xLHQ==" FareBasis="T3MDJKH" PassengerTypeCode="ADT" Origin="BKK" Destination="PNH" EffectiveDate="2015-10-22T03:18:00.000+00:00" DepartureDate="2015-11-30" Amount="AUD136.00" NegotiatedFare="false" PrivateFare="AirlinePrivateFare" NotValidAfter="2016-02-22" PseudoCityCode="A0B">
                        <air:BaggageAllowance>
                            <air:MaxWeight Value="20" Unit="Kilograms"/>
                        </air:BaggageAllowance>
                        <air:FareRuleKey FareInfoRef="oSmDyNZBTtypLc+nS0xLHQ==" ProviderCode="1G">gws-eJxNT0EOwyAMe0zlu6FFhRvtWMfKhiqtm9TL/v+MBehhQTFEtmLjvddURlFr/1cdcMjB6wiPOzK0tGsFTJwhsyqCAiJCnsL+0dYOKRqSWprKObMCKE902w35fcG5bMsRTpR1OMB+HLD3z7CmiBpI9RQmV7ZhsSKDvlgQi1lYmSNLnTin1JaKHb7yB6LY4xrlKglbOEtrrSQjRkiqHwBaOK4=</air:FareRuleKey>
                    </air:FareInfo>
                    <air:BookingInfo BookingCode="T" CabinClass="Economy" FareInfoRef="HLzIR1M7Ria3U8TDOzPvew==" SegmentRef="UsgZLqW0QjqfnoBYD98oGw=="/>
                    <air:BookingInfo BookingCode="T" CabinClass="Economy" FareInfoRef="oSmDyNZBTtypLc+nS0xLHQ==" SegmentRef="ivvxA7K6T0qUJ6svmtuwIw=="/>
                    <air:TaxInfo Category="KX" Amount="AUD35.80"/>
                    <air:TaxInfo Category="TS" Amount="AUD27.70"/>
                    <air:TaxInfo Category="YQ" Amount="AUD103.00"/>
                    <air:FareCalc>PNH PG BKK 95.00T3MDJKH PG PNH 95.00T3MDJKH NUC190.00END ROE1.0</air:FareCalc>
                    <air:PassengerType Code="ADT" Age="40"/>
                </air:AirPricingInfo>
            </air:AirPricingSolution>
            <com:ActionStatus TicketDate="2015-10-22T23:59:00.000+11:00" Type="TTL" ProviderCode="1G"/>
        </univ:AirCreateReservationReq>
    </soapenv:Body>
</soapenv:Envelope>

Response XML:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP:Body>
      <SOAP:Fault>
         <faultcode>Server.Business</faultcode>
         <faultstring>Message From Galileo : Uncaught Service Exception cause:com.cendant.tds.soa.framework.ServiceException: Exception ReturnedERR: AGENT ID - GALILEOWith the Dynamic GTID list of:A80A68</faultstring>
         <detail>
            <common_v33_0:ErrorInfo xmlns:common_v33_0="http://www.travelport.com/schema/common_v33_0">
               <common_v33_0:Code>3515</common_v33_0:Code>
               <common_v33_0:Service>AIRSVC</common_v33_0:Service>
               <common_v33_0:Type>Business</common_v33_0:Type>
               <common_v33_0:Description>Unsuccessful primary host transaction causing reservation failure.</common_v33_0:Description>
               <common_v33_0:TransactionId>Numeric Value</common_v33_0:TransactionId>
               <common_v33_0:TraceId>Numeric Value</common_v33_0:TraceId>
            </common_v33_0:ErrorInfo>
         </detail>
      </SOAP:Fault>
   </SOAP:Body>
</SOAP:Envelope>
vivekjyotipramanik commented 8 years ago

Hi hourking, Could you please provide me the PCC & Username you are using. We have to restore your credentials. Thanks.

Thanks & Regards Vivekjyoti Pramanik

ghost commented 8 years ago

Dear vivekjyotipramanik,

I very appreciate your reply.

Actually, I am still using 30-day credential and the information I got from the Travelport are Username, password, and Branch Code. but I didn't get any PCC. Anyway, My username is "Universal API/uAPI7583867937-5f5862d2" TargetBranch is "P7038750" (1G). I hope you can use these to restore my credentials.

Thanks in advance, Hour

vivekjyotipramanik commented 8 years ago

Hi hourk,

We have restored the credentials. Please try it again and let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

hourkaing commented 8 years ago

Hello vivekjyotipramanik,

Thank for you quick response. :)

After your restoration, the error have been changed to "Ticketing application failed: CHECK FORMAT" as shown in the following xml.

So, can you tell me what this error mean? Did something wrong in my request?

Thanks in advance, Hour

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:univ="http://www.travelport.com/schema/universal_v33_0" xmlns:com="http://www.travelport.com/schema/common_v33_0" xmlns:air="http://www.travelport.com/schema/air_v33_0">
    <soapenv:Body>
        <univ:AirCreateReservationReq TraceId="a4735d2e-e913-4e7d-b52b-f35a2243d198" TargetBranch="P7038750" >
            <com:BillingPointOfSaleInfo OriginApplication="UAPI" />
            <com:BookingTraveler Key="7410852" TravelerType="ADT" Age="40" VIP="false" DOB="1990-10-10" Gender="M" Nationality="kh">
                <com:BookingTravelerName Prefix="Mr." First="Ftest" Middle="Mtest" Last="Ltest" Suffix="ML."/>
                <!--Zero or more repetitions:-->
                <com:PhoneNumber Type="Mobile" CountryCode="855" Number="11552244">
                </com:PhoneNumber>
                <!--Zero or more repetitions:-->
                <com:Email EmailID="test@gmail.com">
                </com:Email>
                <com:EmergencyInfo>Emergency Infomation</com:EmergencyInfo>
            </com:BookingTraveler>
            <!--Zero or more repetitions:-->

            <air:AirPricingSolution Key="jZinOTOFTruIkfuOO6a4tw==" TotalPrice="AUD438.50" BasePrice="USD190.00" ApproximateTotalPrice="AUD438.50" ApproximateBasePrice="AUD272.00" EquivalentBasePrice="AUD272.00" Taxes="AUD166.50" ApproximateTaxes="AUD166.50" QuoteDate="2015-10-30">
                <air:AirSegment Key="CJZXxLozSkyJoc2Uiycvxg==" ProviderCode="1G" Group="0" Carrier="PG" FlightNumber="938" Origin="PNH" Destination="BKK" DepartureTime="2015-11-20T06:15:00.000+07:00" ArrivalTime="2015-11-20T07:25:00.000+07:00" FlightTime="70" Distance="322" ETicketability="Yes" Equipment="320" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="L" AvailabilityDisplayType="Fare Shop/Optimal Shop">
                </air:AirSegment>
                <air:AirSegment Key="vQUgMXmjSKGqsoNEARfoIQ==" ProviderCode="1G" Group="1" Carrier="PG" FlightNumber="931" Origin="BKK" Destination="PNH" DepartureTime="2015-11-30T08:20:00.000+07:00" ArrivalTime="2015-11-30T09:30:00.000+07:00" FlightTime="70" Distance="322" ETicketability="Yes" Equipment="320" ChangeOfPlane="false" ParticipantLevel="Secure Sell" LinkAvailability="true" PolledAvailabilityOption="Polled avail used" OptionalServicesIndicator="false" AvailabilitySource="L" AvailabilityDisplayType="Fare Shop/Optimal Shop">
                </air:AirSegment>
                <air:AirPricingInfo Key="Oa34Mx4HQEuL5Ndu3nEU2w==" TotalPrice="AUD438.50" BasePrice="USD190.00" ApproximateTotalPrice="AUD438.50" ApproximateBasePrice="AUD272.00" EquivalentBasePrice="AUD272.00" Taxes="AUD166.50" LatestTicketingTime="2015-10-31" PricingMethod="GuaranteedUsingAirlinePrivateFare" ETicketability="Yes" PlatingCarrier="PG" ProviderCode="1G">
                    <air:FareInfo Key="glSzA5J3R32cfdGMRM59lA==" FareBasis="T3MDJKH" PassengerTypeCode="ADT" Origin="PNH" Destination="BKK" EffectiveDate="2015-10-30T06:14:00.000+00:00" DepartureDate="2015-11-20" Amount="AUD136.00" NegotiatedFare="false" PrivateFare="AirlinePrivateFare" NotValidAfter="2016-02-20" PseudoCityCode="A0B">
                        <air:BaggageAllowance>
                            <air:MaxWeight Value="20" Unit="Kilograms"/>
                        </air:BaggageAllowance>
                        <air:FareRuleKey FareInfoRef="glSzA5J3R32cfdGMRM59lA==" ProviderCode="1G">gws-eJxNT9EOwiAQ+5il74WNDN7YhhOHkiVOk734/5/hATGxpIXQ46547zWVUezp/9ABpyw8z3C/IUMJXQMwcUa9k4IiUoQ8heOtrR1SNCS1kMo5swEoR3T7Ffm1lIdaOKcEJ5W18wn244Cjf4QtRdRASlOcXN2mZRQZ9GJBrGZlcwpwVt1z/DXt8JE/EGU8LlG2krCFs7TWSjJihKT6AvYQOJ8=</air:FareRuleKey>
                        <air:Brand Key="oe5RANl7RVmdGbRu3QpW9Q==" BrandID="4769" UpSellBrandFound="false"/>
                    </air:FareInfo>
                    <air:FareInfo Key="uPAmavcASYO+N1HSXroBZw==" FareBasis="T3MDJKH" PassengerTypeCode="ADT" Origin="BKK" Destination="PNH" EffectiveDate="2015-10-30T06:14:00.000+00:00" DepartureDate="2015-11-30" Amount="AUD136.00" NegotiatedFare="false" PrivateFare="AirlinePrivateFare" NotValidAfter="2016-02-20" PseudoCityCode="A0B">
                        <air:BaggageAllowance>
                            <air:MaxWeight Value="20" Unit="Kilograms"/>
                        </air:BaggageAllowance>
                        <air:FareRuleKey FareInfoRef="uPAmavcASYO+N1HSXroBZw==" ProviderCode="1G">gws-eJxNT0EOwyAMe0zlu4Giwq3tuo6VDVVaN4nL/v+MBehhQTFEtmIzjqOmsoqG4191QJaDV14edyRoad8KmDhDZlUEBUSENC3HRzvXx2BJamkq7+0GoDzR7Tek9wXnsj0FeFHWIYNm6HGY57LFgBpIGQqTKtuwWJGLvjgQq11ZmZykTpxjbEvFDl/5A1HscQ1ylYQtnKNzTpIRAyTVD/9TOK0=</air:FareRuleKey>
                        <air:Brand Key="9lbhzp9uTKiU9KgJR3/Rrg==" BrandID="4769" UpSellBrandFound="false"/>
                    </air:FareInfo>
                    <air:BookingInfo BookingCode="T" CabinClass="Economy" FareInfoRef="glSzA5J3R32cfdGMRM59lA==" SegmentRef="CJZXxLozSkyJoc2Uiycvxg=="/>
                    <air:BookingInfo BookingCode="T" CabinClass="Economy" FareInfoRef="uPAmavcASYO+N1HSXroBZw==" SegmentRef="vQUgMXmjSKGqsoNEARfoIQ=="/>
                    <air:TaxInfo Category="KX" Amount="AUD35.80"/>
                    <air:TaxInfo Category="TS" Amount="AUD27.70"/>
                    <air:TaxInfo Category="YQ" Amount="AUD103.00"/>
                    <air:FareCalc>PNH PG BKK 95.00T3MDJKH PG PNH 95.00T3MDJKH NUC190.00END ROE1.0</air:FareCalc>
                    <air:PassengerType Code="ADT" Age="40"/>
                </air:AirPricingInfo>
            </air:AirPricingSolution>

            <com:ActionStatus Type="TTL" TicketDate="2015-10-31T17:46:56" ProviderCode="1G"/>
        </univ:AirCreateReservationReq>
    </soapenv:Body>
</soapenv:Envelope>

Response:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP:Body>
      <SOAP:Fault>
         <faultcode>Server.System</faultcode>
         <faultstring>Ticketing application failed: CHECK FORMAT</faultstring>
         <detail>
            <common_v33_0:ErrorInfo xmlns:common_v33_0="http://www.travelport.com/schema/common_v33_0">
               <common_v33_0:Code>-1</common_v33_0:Code>
               <common_v33_0:Service>PROVISIONINGSERVICE</common_v33_0:Service>
               <common_v33_0:Type>System</common_v33_0:Type>
               <common_v33_0:Description>Ticketing application failed: CHECK FORMAT</common_v33_0:Description>
               <common_v33_0:TransactionId>B78BABBD0A076477BB9FFFDCFC6B7AFD</common_v33_0:TransactionId>
               <common_v33_0:TraceId>a4735d2e-e913-4e7d-b52b-f35a2243d198</common_v33_0:TraceId>
            </common_v33_0:ErrorInfo>
         </detail>
      </SOAP:Fault>
   </SOAP:Body>
</SOAP:Envelope>
vivekjyotipramanik commented 8 years ago

Hi Hourk,

Please use a different carrier. Looks like you are using TicketLess carriers.Please use carriers like NZ/AB/KL/AZ etc. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

hourkaing commented 8 years ago

Hi vivekjyotipramanik,

It works now. Thank you very much for your helps.

Best Regard, Hour

vivekjyotipramanik commented 8 years ago

Thanks Hourk,

Great to know it worked. Thanks.

Thanks & Regards Vivekjyoti Pramanik

hassanItani commented 8 years ago

Hi @vivekjyotipramanik ,

I have the same error, can you please help me.

request.txt

vivekjyotipramanik commented 8 years ago

Hi hassanitani,

Could you please provide me the error response. Looks like your credentials fell off the PreProduction system. Please provide me the TargetBranch you are using and we will restore it. Thanks.

Thanks & Regards Vivekjyoti Pramanik

hassanItani commented 8 years ago

Hi @vivekjyotipramanik , This is the error response.

errorResponse.txt

Thanks & Regards Hassan Itani

vivekjyotipramanik commented 8 years ago

Hi hassanitani,

Could you please provide me the TargetBranch/WAB as well. We nee the TargetBranch to restore the Agent. Thanks.

Thanks & Regards Vivekjyoti Pramanik

edolix commented 8 years ago

Hi @vivekjyotipramanik

i have a related issue in AirCreateReservation but my error is:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Body>
    <SOAP:Fault>
      <faultcode>Server.Business</faultcode>
      <faultstring>Message From Galileo : Uncaught Service Exception cause:com.cendant.tds.soa.framework.ServiceException: Error retrieving AccessProfile Unable to retrieve enough Dynamic GTIDs for this transaction</faultstring>
      <detail>
        <common_v36_0:ErrorInfo xmlns:common_v36_0="http://www.travelport.com/schema/common_v36_0">
          <common_v36_0:Code>3515</common_v36_0:Code>
          <common_v36_0:Service>AIRSVC</common_v36_0:Service>
          <common_v36_0:Type>Business</common_v36_0:Type>
          <common_v36_0:Description>Unsuccessful primary host transaction causing reservation failure.</common_v36_0:Description>
          <common_v36_0:TransactionId>9F49DE380A07643B86385973EF007448</common_v36_0:TransactionId>
        </common_v36_0:ErrorInfo>
      </detail>
    </SOAP:Fault>
  </SOAP:Body>
</SOAP:Envelope>

And in much more cases (LowFareSearchReq - AirPriceReq) i receive:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Body>
    <SOAP:Fault>
      <faultcode>Server.System</faultcode>
      <faultstring>Provider transaction failed.</faultstring>
      <detail>
        <common_v36_0:ErrorInfo xmlns:common_v36_0="http://www.travelport.com/schema/common_v36_0">
          <common_v36_0:Code>700003</common_v36_0:Code>
          <common_v36_0:Service>SOASYSTEM</common_v36_0:Service>
          <common_v36_0:Type>System</common_v36_0:Type>
          <common_v36_0:Description>Provider transaction failed.</common_v36_0:Description>
          <common_v36_0:TransactionId>9F49BEE70A07643CE466F0771483E06F</common_v36_0:TransactionId>
        </common_v36_0:ErrorInfo>
      </detail>
    </SOAP:Fault>
  </SOAP:Body>
</SOAP:Envelope>

Can you help me please?

Thanks and Regards!!!

vivekjyotipramanik commented 8 years ago

Hi edolix,

Thank you for your interest in Travelport Universal API. Could you please try this again. Please let me know how it goes. Also, Please provide the request xml. Thanks.

Thanks & Regards Vivekjyoti Pramanik

edolix commented 8 years ago

Hi @vivekjyotipramanik

now it's successfully work. There was a problem on pre-production system?

Thanks 👍

gakshat14 commented 7 years ago

I'm trying to book a ticket and I'm getting the same error

Request

`

Smiths 2914 N. Dakota Avenue Denver CO 80206 US Smiths 2914 N. Dakota Avenue Denver CO 80206 US Qantas Airways 6UUVoSldxwiicj0YU4W4rcbKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA59iSvR0xBG6O422wYI1U7dkDt6POLdTV+mg0M32Oqk7Qu0ZscBMSQ5qlMy9qRBQLL8m+5ylIlD+xg4n4XmZFwu+c4NL8FZWf8siOHFaFMf8hf6E18cRejGVqfCTByZWByXRfehgBVDeY0Kc4EXhU87qNbjwzJx7oo0sKBvhNXxaveGYk/Emb8vvbU706O8Iboq+cJFUBzrily5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA3N5jV9Rrzq8txHW6jzw2UbAQJCzzE4cyXGBylJ/X2yMzi8gCjdNyyLzddazUjNW82apBPut9f68 SYD QF MEL 360.21MQFLEX AUD360.21END MYTRIPANDMORE.COM/BAGGAGEDETAILSQF.BAGG 1P BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC. UPTO50LB/23KG AND UPTO55LI/140LCM UPTO50LB/23KG AND UPTO55LI/140LCM 2P UPTO15LB/7KG AND UPTO41LI/105LCM UPTO15LB/7KG AND UPTO41LI/105LCM MYTRIPANDMORE.COM/BAGGAGEDETAILSQF.BAGG 888 RATE USED IN EQU TOTAL IS BSR 1AUD - 0.76639USD LAST DATE TO PURCHASE TICKET: 10OCT16 FARE HAS A PLATING CARRIER RESTRICTION E-TKT REQUIRED TICKETING FEES MAY APPLY `

Response

`

Server.Business Message From Galileo : Uncaught Service Exception cause:com.cendant.tds.soa.framework.ServiceException: Exception ReturnedERR: AGENT ID - GALILEOWith the Dynamic GTID list of:AFB0FE 3515 AIRSVC Business Unsuccessful primary host transaction causing reservation failure. A2CF41E10A076477404C578DE201573E trace

</SOAP:Fault>`

parsa25eng commented 7 years ago

Hi. I have same error in the 'create reservation'. I have attached request and response to this comment. Can anyone help me? AirCreateReservationReq.txt Fault.txt

vivekjyotipramanik commented 7 years ago

Hi gakshat14, parsa25eng,

Your agent ids fell of the PreProduction system. Please provide your TargetBranch and Username and we will restore the same for you. Thanks.

Thanks & Regards Vivekjyoti Pramanik

parsa25eng commented 7 years ago

Hi vivekjyotipramanik Thanks for your quick response. Universal API User ID: Universal API/uAPI4900536672-60b8e52c Branch Code (TargetBranch) for ProviderName (ProviderCode): Branch Code for Galileo (1G): P7004934

best regards Parsa

vivekjyotipramanik commented 7 years ago

Hi parsa25eng,

We have rebuilt the sign on. Could you please try again. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

parsa25eng commented 7 years ago

Hi vivekjyotipramanik , Thank you for checking my credential But I have receive same error and my problem still not solved .

Thanks Parsa

ahsan8296 commented 7 years ago

Hi Vivek,

I am getting an error "Provider transaction failed." when I added in cart. I logged with test custom credential. I attached screen shot and request response XML. User Name : Universal API/uAPI1832624033-84294222 Target Branch : P7009837 Please advise me. Thanks S.Ahsan

image

XML.txt

vivekjyotipramanik commented 7 years ago

Hi parsa25eng,

Could you please request for a new set of trial credentials and give it a try with that. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

vivekjyotipramanik commented 7 years ago

Hi ahsan8296,

Could you please provide your complete credentials so that we can see what is the problem. Please always use a separate issue and if not Please comment only on open issues. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

ahsan8296 commented 7 years ago

Thanks vivek. My complete credential is: User Name : Universal API/uAPI1832624033-84294222 Password: tqYkSaPgSPh9ZcJegpfF5mKdY Target Branch : P7009837

vivekjyotipramanik commented 7 years ago

Hi ahsan8296,

We have rebuilt the Host sign on. Could you please try again. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

BlueThunder16 commented 7 years ago

Hello Vivekjyoti Pramanik,

I thik I have the same problem! My credential is: $TARGETBRANCH = 'P105209'; $CREDENTIALS = 'Universal API/uAPI5456735566:XwAhfEbZ278mhYdwAeB2ta9Fw'; $Provider = '1G'; // Any provider you want to use like 1G/1P/1V/ACH Have you any idea? Where can I get a test PCC?

Regards

003-1G_HotelBookReq.txt 003-1G_HotelBookRsp.txt

parsa25eng commented 7 years ago

Hi ahsan8296 This problem will solved by removing the "FareBasisCode" in your request. Try with your own application. This problem not solved in the demo site. Best regards Parsa

vivekjyotipramanik commented 7 years ago

Hi ahsan8296,

We have rebuilt your signon as it fell off the system. Could you please try again. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

vivekjyotipramanik commented 7 years ago

Hi BlueThunder16,

Thank you for your interest in Travelport Universal API. We are rebuilding your sign on. I will provide an update as soon as it is available. Thanks.

Thanks & Regards Vivekjyoti Pramanik

vivekjyotipramanik commented 7 years ago

Hi BlueThunder16,

We have rebuilt the sign on. Could you please give it a try. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

BlueThunder16 commented 7 years ago

Hello Vivekjyoti Pramanik, thank you for your reply. Now I have the follwong error! R211 UNSUCCESSFUL LINK SELL- MSG FROM LINK VENDOR INVALID CREDIT CARD VENDOR ID *

I used the data from https://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/007-06_1G_HotelBook_Rq.xml Please can you advise?

003-1G_HotelBookRsp_01.txt

vivekjyotipramanik commented 7 years ago

Hi BlueThunder16,

Please do not use data from the sample files. Those are fore sample purposes only. Please go through the full flow and use the current data which you received from HotelSearchAvailabilityRsp and then HotelDetailsRsp. The message is valid as the credit card shown in sample is not a valid credit card. For testing please use a valid Test credit card. Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

BlueThunder16 commented 7 years ago

Hi, sorry if I was not enough specific as I said data from sample! I used only credit card data from the sample, for the other steps I followed the as you mentioned. Is there any valid test credit card data on the developer page?

thanks,

vivekjyotipramanik commented 7 years ago

Hi BlueThunder16,

We would not be a able to provide any test credit card to test. Please use your Test credit card to test the request. Thanks.

Thanks & Regards Vivekjyoti Pramanik

BlueThunder16 commented 7 years ago

Hi Vivekjyoti Pramanik, I tried with some dummy valid cred card but it's sill not working!

<faultstring>R211 UNSUCCESSFUL LINK SELL- MSG FROM LINK VENDOR FORM OF DEPOSIT REQUIRED IN /G- FORM OF DEPOSIT REQUIRED FOR GUARANTEE *</faultstring>

vivekjyotipramanik commented 7 years ago

Hi BlueThunder16,

Please provide the request you are using. Thanks.

Thanks & Regards Vivekjyoti Pramanik

BlueThunder16 commented 7 years ago

Hi, sorry!

`<?xml version="1.0"?>

Home Dr. Drive Tucson AZ 6000 US Frankfurt 60549 DE 2017-01-25 2017-01-27 2 `
vivekjyotipramanik commented 7 years ago

Hi BlueThunder16,

Please try with the below request. Please let me know how it goes. Thanks.

<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <univ:HotelCreateReservationReq xmlns:univ="http://www.travelport.com/schema/universal_v29_0" AuthorizedBy="user" TargetBranch="P105209" TraceId="trace" UserAcceptance="true" ProviderCode="1G">
      <com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v29_0" OriginApplication="UAPI"/>
      <com:BookingTraveler xmlns:com="http://www.travelport.com/schema/common_v29_0" Age="36" DOB="1980-04-25" Gender="M" Key="/qloV1aUQNuQVeqc9YMwBg==" Nationality="US" TravelerType="ADT">
        <com:BookingTravelerName First="Test" Last="Test" Prefix="Mr"/>
        <com:PhoneNumber AreaCode="08" CountryCode="61" Location="DEN" Number="123456" Type="Home"/>
        <com:Email EmailID="test@travelport.com" Type="Home"/>
        <com:Address>
          <com:AddressName>Home</com:AddressName>
          <com:Street>Dr. Drive</com:Street>
          <com:City>Tucson</com:City>
          <com:State>AZ</com:State>
          <com:PostalCode>6000</com:PostalCode>
          <com:Country>US</com:Country>
        </com:Address>
      </com:BookingTraveler>
      <hot:HotelRateDetail xmlns:hot="http://www.travelport.com/schema/hotel_v29_0" RatePlanType="A1KDLY" Total="EUR856.00"/>
      <hot:HotelProperty xmlns:hot="http://www.travelport.com/schema/hotel_v29_0" HotelChain="SI" HotelCode="00837" Name="SHERATON AIRPORT FRANKFURT">
        <hotel:PropertyAddress xmlns:hotel="http://www.travelport.com/schema/hotel_v29_0">
          <hotel:Address>Frankfurt 60549 DE </hotel:Address>
        </hotel:PropertyAddress>
      </hot:HotelProperty>
      <hot:HotelStay xmlns:hot="http://www.travelport.com/schema/hotel_v29_0">
        <hot:CheckinDate>2017-01-25</hot:CheckinDate>
        <hot:CheckoutDate>2017-01-27</hot:CheckoutDate>
      </hot:HotelStay>
      <com:Guarantee xmlns:com="http://www.travelport.com/schema/common_v29_0" Type="Deposit">
        <com:CreditCard BankCountryCode="US" BankName="AmEx" ExpDate="2018-12" Number="4917610000000000" Type="VI"/>
      </com:Guarantee>
      <hot:GuestInformation xmlns:hot="http://www.travelport.com/schema/hotel_v29_0" NumberOfRooms="1">
        <hot:NumberOfAdults>2</hot:NumberOfAdults>
      </hot:GuestInformation>
    </univ:HotelCreateReservationReq>
  </soapenv:Body>
</soapenv:Envelope>

Thanks & Regards Vivekjyoti Pramanik

BlueThunder16 commented 7 years ago

Hi Vivekjyoti Pramanik, now it works like a charm :-)

thanks a lot,

BlueThunder16 commented 7 years ago

Hi Vivekjyoti Pramanik,

One more question, can I use the retrieved AgencyCode from the Hotel Booking in an Air Booking as agencyID?

Regards

NirandaG commented 7 years ago

Hi BlueThunder16,

Could you please elaborate more on the question?

Thank you, Niranda