Open jayapen opened 4 years ago
Hi jayapen,
Could you please try with the below request. Thanks.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<univ:PassiveCreateReservationReq xmlns:univ="http://www.travelport.com/schema/universal_v48_0">
<BillingPointOfSaleInfo OriginApplication="UAPI" xmlns="http://www.travelport.com/schema/common_v48_0"/>
<OverridePCC ProviderCode="1G" PseudoCityCode="PCC" xmlns="http://www.travelport.com/schema/common_v48_0"/>
<LinkedUniversalRecord LocatorCode="J6SKJ3" Key="1" xmlns="http://www.travelport.com/schema/common_v48_0"/>
<BookingTraveler NameNumber="John" xmlns="http://www.travelport.com/schema/common_v48_0">
<BookingTravelerName First="John" Last="Samuel"/>
</BookingTraveler>
<OSI Carrier="CA" Text="Carrier text" xmlns="http://www.travelport.com/schema/common_v48_0"/>
<AccountingRemark Category="Category" xmlns="http://www.travelport.com/schema/common_v48_0">
<RemarkData>Remark data</RemarkData>
</AccountingRemark>
<EmailNotification Recipients="All" xmlns="http://www.travelport.com/schema/common_v48_0">
<EmailRef>jayan@travelog.com.au</EmailRef>
</EmailNotification>
<SupplierLocator SupplierCode="CA" SupplierLocatorCode="CA" xmlns="http://www.travelport.com/schema/common_v48_0"/>
<PassiveSegment SegmentType="SEgmentType" xmlns="http://www.travelport.com/schema/passive_v48_0"/>
</univ:PassiveCreateReservationReq>
</s:Body>
</s:Envelope>
Thanks for the reply but still i am getting the same error
A SOAP fault was returned. This could be an issue with your request.
Fault text: Error unmarshalling message body: Expected "{http://www.travelport.com/schema/universal_v48_0}PassiveCreateReservationReq" end tag, found "{http://www.travelport.com/schema/common_v48_0}EmailNotification" start tag (line 16, col 97, in UTF-8)
I changed the request
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<SupportedVersions airVersion="air_v42_0" hotelVersion="hotel_v41_0" xmlns:h="http://www.travelport.com/schema/universal_v48_0" xmlns="http://www.travelport.com/schema/universal_v48_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
<VsDebuggerCausalityData xmlns="http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink">uIDPo2TVuwncgJFCuKDh+08+wKAAAAAA5P5ZHz+510aL2QB/mfyQ8jGnxevu4v9NvEBhWYihPBYACQAA</VsDebuggerCausalityData>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<PassiveCreateReservationReq ProviderCode="1G" xmlns="http://www.travelport.com/schema/universal_v48_0">
<BillingPointOfSaleInfo OriginApplication="UAPI" xmlns="http://www.travelport.com/schema/common_v48_0" />
<OverridePCC ProviderCode="1G" PseudoCityCode="PCC" xmlns="http://www.travelport.com/schema/common_v48_0" />
<LinkedUniversalRecord LocatorCode="J6SKJ3" Key="1" xmlns="http://www.travelport.com/schema/common_v48_0" />
<BookingTraveler NameNumber="John" xmlns="http://www.travelport.com/schema/common_v48_0">
<BookingTravelerName First="John" Last="Samuel" />
</BookingTraveler>
<OSI Carrier="CA" Text="Carrier text" xmlns="http://www.travelport.com/schema/common_v48_0" />
<AccountingRemark Category="Category" xmlns="http://www.travelport.com/schema/common_v48_0">
<RemarkData>Remark data</RemarkData>
</AccountingRemark>
<SupplierLocator SupplierCode="CA" SupplierLocatorCode="CA" xmlns="http://www.travelport.com/schema/common_v48_0" />
<PassiveSegment SegmentType="AIR" Origin="SYD" Destination="MEL" StartDate="2020-01-02" xmlns="http://www.travelport.com/schema/passive_v48_0" />
</PassiveCreateReservationReq>
</s:Body>
</s:Envelope>
now i get responce as
<SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>Server.Business</faultcode>
<faultstring>Active segments are not allowed on a Passive Reservation request.</faultstring>
<detail>
<common_v48_0:ErrorInfo xmlns:common_v48_0="http://www.travelport.com/schema/common_v48_0">
<common_v48_0:Code>20001</common_v48_0:Code>
<common_v48_0:Service>PAS</common_v48_0:Service>
<common_v48_0:Type>Business</common_v48_0:Type>
<common_v48_0:Description>Active segments are not allowed on a Passive Reservation request.</common_v48_0:Description>
<common_v48_0:TransactionId>1400201B0A0764784AC7498713B9F0A3</common_v48_0:TransactionId>
</common_v48_0:ErrorInfo>
</detail>
</SOAP:Fault>
Could you tell me what are the Active segments I mix with Passive segments ?
Hi jayapen,
Could you please create a ticket in My.Travelport.com. This seems like a transaction issue. Please raise a ticket and we will pick it up from there. Thanks.
I am facing error while doing a passive create reservation request
Error unmarshalling message body: Expected "{http://www.travelport.com/schema/universal_v48_0}PassiveCreateReservationReq" end tag, found "{http://www.travelport.com/schema/common_v48_0}EmailNotification" start tag (line 2, col 1575, in UTF-8) Source=GDSMultiConnect StackTrace: at GDSServices.TravelPortConnect.CreatePNRRecord()
Could you please help ? PassiveCreateReservationReq.txt