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

<faultstring>Transaction Error: Procedure/8209</faultstring> Error #291

Open IdrisHanafi opened 7 years ago

IdrisHanafi commented 7 years ago

Hi I am trying to run the following query below:

origin = "DTW"
destination = "HVN"
departureDate = "2017-03-25"
returnDate = "2017-03-28"

ping_req="""<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
                <soapenv:Header/>
                    <soapenv:Body>
                        <air:LowFareSearchReq xmlns:air="http://www.travelport.com/schema/air_v34_0" xmlns:com="http://www.travelport.com/schema/common_v34_0" AuthorizedBy="user" SolutionResult="true" TargetBranch='""" + branch + """' TraceId="trace">
                            <com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
                            <air:SearchAirLeg>
                                <air:SearchOrigin>
                                    <com:Airport Code='""" + origin + """'/>
                                </air:SearchOrigin>
                                <air:SearchDestination>
                                    <com:Airport Code='""" + destination + """'/>
                                </air:SearchDestination>
                                <air:SearchDepTime PreferredTime='""" + departureDate + """'/>
                            </air:SearchAirLeg>
                            <air:AirSearchModifiers>
                                <air:PreferredProviders>
                                    <com:Provider Code="1G"/>
                                </air:PreferredProviders>
                            </air:AirSearchModifiers>
                            <com:SearchPassenger BookingTravelerRef="gr8AVWGCR064r57Jt0+8bA==" Code="ADT"/>
                        </air:LowFareSearchReq>
                    </soapenv:Body>
                </soapenv:Envelope>"""

but I get the following error:

<?xml version="1.0" ?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
        <SOAP:Body>
                <SOAP:Fault>
                        <faultcode>Server.System</faultcode>
                        <faultstring>Transaction Error: Procedure/8209</faultstring>
                        <detail>
                                <common_v34_0:ErrorInfo xmlns:common_v34_0="http://www.travelport.com/schema/common_v34_0">
                                        <common_v34_0:Code>10</common_v34_0:Code>
                                        <common_v34_0:Service>SYSTEM</common_v34_0:Service>
                                        <common_v34_0:Type>System</common_v34_0:Type>
                                        <common_v34_0:Description>Transaction failure.</common_v34_0:Description>
                                        <common_v34_0:TransactionId>F712C6590A07643BBC3ACFD4D02B3B7B</common_v34_0:TransactionId>
                                        <common_v34_0:TraceId>trace</common_v34_0:TraceId>
                                </common_v34_0:ErrorInfo>
                        </detail>
                </SOAP:Fault>
        </SOAP:Body>
</SOAP:Envelope>

What should I do?

vivekjyotipramanik commented 7 years ago

Hi IdrisHanafi,

Could you please confirm the endpoint URL you are using. Thanks.

IdrisHanafi commented 7 years ago

It is this: https://americas.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/AirService

Is that correct?

vivekjyotipramanik commented 7 years ago

Hi IdrisHanafi,

The URL is correct. Could you please confirm the programming language you are using. Looks like in the request the ""'s were not escaped properly. Thanks.

IdrisHanafi commented 7 years ago

Yes, the quotation mark is escaped properly. That doesn't seem to be the issue. Any other suggestions?

vivekjyotipramanik commented 7 years ago

Hi IdrisHanafi,

Looks like the issue is coming from UAPI. Could you please try using your credentials in the demosite. Please confirm if you are getting the same issue in demosite. Thanks.

http://demo.travelportuniversalapi.com/

IdrisHanafi commented 7 years ago

Hi @vivekjyotipramanik

I just tested my credentials out with the uAPI demo site and the issue still persists. So, it must be something with the uAPI. Are there any work arounds or if possible how long would it take for you to fix?

Thanks so much for the response.

vivekjyotipramanik commented 7 years ago

Hi IdrisHanafi,

In demosite it is working fine fro me. So, looks like it is an issue with the credentials you are using. Could you please confirm if you are using trial credentials. Also, Please provide the username and targetBranch you are using. Thanks.

IdrisHanafi commented 7 years ago

Hi,

These are my credentials and I am using the Galileo branch: branch = "P7017164" TRAVELPORT_USER = "Universal API/uAPI8944377568-67f27a59"

I tested these credentials out on the pre-production version (I am still using the demo credentials).

vivekjyotipramanik commented 7 years ago

Hi IdrisHanafi,

We are checking and will an update. Thanks.

IdrisHanafi commented 7 years ago

@vivekjyotipramanik Thanks so much. Please let me know ASAP.

vivekjyotipramanik commented 7 years ago

Hi IdrisHanafi,

Could you please request for another set of credentials from the request test page while we are working on this. Thanks.