By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,129 Members | 2,300 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,129 IT Pros & Developers. It's quick & easy.

Converting SoapResponse to Class

P: n/a
hi,

I am using a webservice which Returns the Result in an XML string,
The XML response i get i svery cumbersome to parse,
But if i could convert it to the Corresponding Class using the
System.Xml.Serialization, i think that can solve my problem.
But i tried using the Deserialize method for converting the XML to the
Corresponding Object, neither i get error nor i get any luck for converting
it to Object.

well if i am debuging the project i can see that the Serializer goes to the
UnKnownElement event.

Below is the LIMITED XML Response(Dont Blame me the actual response is 4-5
times this).

<OTA_AirLowFareSearchRS Version="1.001">
<Success></Success>
<PricedItineraries>
<PricedItinerary SequenceNumber="1">
<AirItinerary DirectionInd="OneWay">
<OriginDestinationOptions>
<OriginDestinationOption>
<FlightSegment DepartureDateTime="2005-04-08T13:28:00"
ArrivalDateTime="2005-04-08T16:22:00" StopQuantity="0"
RPH="1" FlightNumber="1700" ResBookDesigCode="L" NumberInParty="3">
<DepartureAirport LocationCode="MIA">Miami International, FL,
US</DepartureAirport>
<ArrivalAirport LocationCode="JFK">New York-JFK, NY,
US</ArrivalAirport>
<OperatingAirline Code="AA">AMERICAN AIRLINES</OperatingAirline>
<Equipment AirEquipType="AB6">AIRBUS INDUSTRIE A300-600/600C
JET</Equipment>
<MarketingAirline Code="AA">AMERICAN AIRLINES</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-08T20:10:00"
ArrivalDateTime="2005-04-09T22:55:00" StopQuantity="1"
RPH="1" FlightNumber="0102" ResBookDesigCode="L" NumberInParty="3">
<DepartureAirport LocationCode="JFK">New York-JFK, NY,
US</DepartureAirport>
<ArrivalAirport LocationCode="BOM">Mumbai, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="744">BOEING 747-400 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-10T00:01:00"
ArrivalDateTime="2005-04-10T02:30:00" StopQuantity="0"
RPH="1" FlightNumber="0680" ResBookDesigCode="B" NumberInParty="3">
<DepartureAirport LocationCode="BOM">Mumbai, IN</DepartureAirport>
<ArrivalAirport LocationCode="CCU">Calcutta, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="310">AIRBUS INDUSTRIE 310 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
</OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
<AirItineraryPricingInfo PricingSource="Published">
<ItinTotalFare NegotiatedFare="0">
<BaseFare Amount="222100" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="241780" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</ItinTotalFare>
<PTC_FareBreakdowns>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="1"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>LA3TN</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
</FareBasisCodes>
<ArrivalAirport LocationCode="BOM">Mumbai, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="744">BOEING 747-400 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-10T00:01:00"
ArrivalDateTime="2005-04-10T02:30:00" StopQuantity="0"
RPH="1" FlightNumber="0680" ResBookDesigCode="B" NumberInParty="3">
<DepartureAirport LocationCode="BOM">Mumbai, IN</DepartureAirport>
<ArrivalAirport LocationCode="CCU">Calcutta, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="310">AIRBUS INDUSTRIE 310 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
</OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
<AirItineraryPricingInfo PricingSource="Published">
<ItinTotalFare NegotiatedFare="0">
<BaseFare Amount="228200" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="247880" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</ItinTotalFare>
<PTC_FareBreakdowns>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="1"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>NA3TN</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
</FareBasisCodes>
<PassengerFare>
<BaseFare Amount="87200" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="93760" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</PassengerFare>
</PTC_FareBreakdown>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="2"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>NA3TN</FareBasisCode>
<FareBasisCode>LWSPOW51/CH25</FareBasisCode>
<FareBasisCode>LWSPOW51/CH25</FareBasisCode>
</FareBasisCodes>
<PassengerFare>
<BaseFare Amount="141000" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="154120" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</PassengerFare>
</PTC_FareBreakdown>
</PTC_FareBreakdowns>
<FareInfos>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T13:10:00</DepartureDate>
<FareReference>NA3TN</FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="CO"></FilingAirline>
<DepartureAirport LocationCode="MIA"></DepartureAirport>
<ArrivalAirport LocationCode="EWR"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T20:10:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="JFK"></DepartureAirport>
<ArrivalAirport LocationCode="BOM"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-10T00:01:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="BOM"></DepartureAirport>
<ArrivalAirport LocationCode="CCU"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T13:10:00</DepartureDate>
<FareReference>NA3TN</FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="CO"></FilingAirline>
<DepartureAirport LocationCode="MIA"></DepartureAirport>
<ArrivalAirport LocationCode="EWR"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T20:10:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="JFK"></DepartureAirport>
<ArrivalAirport LocationCode="BOM"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-10T00:01:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="BOM"></DepartureAirport>
<ArrivalAirport LocationCode="CCU"></ArrivalAirport>
</FareInfo>
</FareInfos>
</AirItineraryPricingInfo>
<TicketingInfo TicketTimeLimit="2005-04-05T00:00:00"
TicketType="eTicket"></TicketingInfo>
</PricedItinerary>
<PricedItinerary SequenceNumber="3">
<AirItinerary DirectionInd="OneWay">
<OriginDestinationOptions>
<OriginDestinationOption>
<FlightSegment DepartureDateTime="2005-04-08T14:00:00"
ArrivalDateTime="2005-04-08T16:55:00" StopQuantity="0"
RPH="1" FlightNumber="2086" ResBookDesigCode="H" NumberInParty="3">
<DepartureAirport LocationCode="MIA">Miami International, FL,
US</DepartureAirport>
<ArrivalAirport LocationCode="LGA">New York-La Guardia, NY,
US</ArrivalAirport>
<OperatingAirline Code="AA">AMERICAN AIRLINES</OperatingAirline>
<Equipment AirEquipType="757">BOEING 757-200/300 JET</Equipment>
<MarketingAirline Code="AA">AMERICAN AIRLINES</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-08T20:10:00"
ArrivalDateTime="2005-04-09T22:55:00" StopQuantity="1"
RPH="1" FlightNumber="0102" ResBookDesigCode="L" NumberInParty="3">
<DepartureAirport LocationCode="JFK">New York-JFK, NY,
US</DepartureAirport>
<ArrivalAirport LocationCode="BOM">Mumbai, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="744">BOEING 747-400 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-10T00:01:00"
ArrivalDateTime="2005-04-10T02:30:00" StopQuantity="0"
RPH="1" FlightNumber="0680" ResBookDesigCode="B" NumberInParty="3">
<DepartureAirport LocationCode="BOM">Mumbai, IN</DepartureAirport>
<ArrivalAirport LocationCode="CCU">Calcutta, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="310">AIRBUS INDUSTRIE 310 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
</OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
<AirItineraryPricingInfo PricingSource="Published">
<ItinTotalFare NegotiatedFare="0">
<BaseFare Amount="279200" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="298880" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</ItinTotalFare>
<PTC_FareBreakdowns>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="1"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>HA0TN</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
</FareBasisCodes>
<PassengerFare>
<BaseFare Amount="104200" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="110760" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</PassengerFare>
</PTC_FareBreakdown>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="2"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>HA0TN</FareBasisCode>
<FareBasisCode>LWSPOW51/CH25</FareBasisCode>
<FareBasisCode>LWSPOW51/CH25</FareBasisCode>
</FareBasisCodes>
<PassengerFare>
<BaseFare Amount="175000" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="188120" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</PassengerFare>
</PTC_FareBreakdown>
</PTC_FareBreakdowns>
<FareInfos>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T14:00:00</DepartureDate>
<FareReference>HA0TN</FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AA"></FilingAirline>
<DepartureAirport LocationCode="MIA"></DepartureAirport>
<ArrivalAirport LocationCode="LGA"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T20:10:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="JFK"></DepartureAirport>
<ArrivalAirport LocationCode="BOM"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-10T00:01:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="BOM"></DepartureAirport>
<ArrivalAirport LocationCode="CCU"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T14:00:00</DepartureDate>
<FareReference>HA0TN</FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AA"></FilingAirline>
<DepartureAirport LocationCode="MIA"></DepartureAirport>
<ArrivalAirport LocationCode="LGA"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T20:10:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCo

Thanks and Regards
Nov 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
save this as xml file, make sure it's a valid xml file, open this in
VS.Net or XMLSpy the generate XSD schema. The you can use xsd.exe to
generate the types

regards
erymuzuan
Nov 23 '05 #2

P: n/a
Hi thanks 4 the reply,
i have done all that but all in vain.
Let me elaborate my problem a bit.
see i am working on consuming some webservices related to travel domain.
and there are basically three providers for this. Sabre , Amadeus and Galileo
Sabre and Amadeus Return the Objects of the classes Generated in the
referance.cs file by VS.NET. while Galelio webservice returns the XML string
and not the Object of the Class(as its in Java i think so).

Now i have all the classes already ( i have also tried by generating the
classes with XSD.EXE )
while when i am deserializing the XML to that class object

it is not giving any error and nor does it transforms into object.
but when i debug it it goes to the event UnknownElement( while thses are all
defined in the class)

i have also tried at the support of the webservice but no reply yet.

thanks
"erymuzuan" wrote:
save this as xml file, make sure it's a valid xml file, open this in
VS.Net or XMLSpy the generate XSD schema. The you can use xsd.exe to
generate the types

regards
erymuzuan

Nov 23 '05 #3

P: n/a
Hi Parvesh,

One thing that I do on my projects when I have alot of XML to consume and to
manipulate is to read it into an Dataset object. I have found that there are
some advantages to doing this:

1. If there are multiple elements at the same level the Dataset class will
automatically split them out into different tables and the child elements
would be fields. (see below)
Dim ioStringReader As New IO.StringReader(xmlString)
Dim dsFlights As New DataSet
dsFlights.ReadXml(ioStringReader)
Return dsFlights

2. Ease of manipulation...it's much easier to say
Dim myDestination as string =
dsFlights.Tables("OriginDestinationOptions").Rows( 0)("Option1")

3. Ease of deserialization...it's easy to move from being a dataset back to
XML string.

Hope this helps.
Delly_jm

"Parvesh" wrote:
hi,

I am using a webservice which Returns the Result in an XML string,
The XML response i get i svery cumbersome to parse,
But if i could convert it to the Corresponding Class using the
System.Xml.Serialization, i think that can solve my problem.
But i tried using the Deserialize method for converting the XML to the
Corresponding Object, neither i get error nor i get any luck for converting
it to Object.

well if i am debuging the project i can see that the Serializer goes to the
UnKnownElement event.

Below is the LIMITED XML Response(Dont Blame me the actual response is 4-5
times this).

<OTA_AirLowFareSearchRS Version="1.001">
<Success></Success>
<PricedItineraries>
<PricedItinerary SequenceNumber="1">
<AirItinerary DirectionInd="OneWay">
<OriginDestinationOptions>
<OriginDestinationOption>
<FlightSegment DepartureDateTime="2005-04-08T13:28:00"
ArrivalDateTime="2005-04-08T16:22:00" StopQuantity="0"
RPH="1" FlightNumber="1700" ResBookDesigCode="L" NumberInParty="3">
<DepartureAirport LocationCode="MIA">Miami International, FL,
US</DepartureAirport>
<ArrivalAirport LocationCode="JFK">New York-JFK, NY,
US</ArrivalAirport>
<OperatingAirline Code="AA">AMERICAN AIRLINES</OperatingAirline>
<Equipment AirEquipType="AB6">AIRBUS INDUSTRIE A300-600/600C
JET</Equipment>
<MarketingAirline Code="AA">AMERICAN AIRLINES</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-08T20:10:00"
ArrivalDateTime="2005-04-09T22:55:00" StopQuantity="1"
RPH="1" FlightNumber="0102" ResBookDesigCode="L" NumberInParty="3">
<DepartureAirport LocationCode="JFK">New York-JFK, NY,
US</DepartureAirport>
<ArrivalAirport LocationCode="BOM">Mumbai, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="744">BOEING 747-400 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-10T00:01:00"
ArrivalDateTime="2005-04-10T02:30:00" StopQuantity="0"
RPH="1" FlightNumber="0680" ResBookDesigCode="B" NumberInParty="3">
<DepartureAirport LocationCode="BOM">Mumbai, IN</DepartureAirport>
<ArrivalAirport LocationCode="CCU">Calcutta, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="310">AIRBUS INDUSTRIE 310 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
</OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
<AirItineraryPricingInfo PricingSource="Published">
<ItinTotalFare NegotiatedFare="0">
<BaseFare Amount="222100" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="241780" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</ItinTotalFare>
<PTC_FareBreakdowns>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="1"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>LA3TN</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
</FareBasisCodes>
<ArrivalAirport LocationCode="BOM">Mumbai, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="744">BOEING 747-400 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-10T00:01:00"
ArrivalDateTime="2005-04-10T02:30:00" StopQuantity="0"
RPH="1" FlightNumber="0680" ResBookDesigCode="B" NumberInParty="3">
<DepartureAirport LocationCode="BOM">Mumbai, IN</DepartureAirport>
<ArrivalAirport LocationCode="CCU">Calcutta, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="310">AIRBUS INDUSTRIE 310 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
</OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
<AirItineraryPricingInfo PricingSource="Published">
<ItinTotalFare NegotiatedFare="0">
<BaseFare Amount="228200" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="247880" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</ItinTotalFare>
<PTC_FareBreakdowns>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="1"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>NA3TN</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
</FareBasisCodes>
<PassengerFare>
<BaseFare Amount="87200" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="93760" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</PassengerFare>
</PTC_FareBreakdown>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="2"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>NA3TN</FareBasisCode>
<FareBasisCode>LWSPOW51/CH25</FareBasisCode>
<FareBasisCode>LWSPOW51/CH25</FareBasisCode>
</FareBasisCodes>
<PassengerFare>
<BaseFare Amount="141000" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="154120" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</PassengerFare>
</PTC_FareBreakdown>
</PTC_FareBreakdowns>
<FareInfos>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T13:10:00</DepartureDate>
<FareReference>NA3TN</FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="CO"></FilingAirline>
<DepartureAirport LocationCode="MIA"></DepartureAirport>
<ArrivalAirport LocationCode="EWR"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T20:10:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="JFK"></DepartureAirport>
<ArrivalAirport LocationCode="BOM"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-10T00:01:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="BOM"></DepartureAirport>
<ArrivalAirport LocationCode="CCU"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T13:10:00</DepartureDate>
<FareReference>NA3TN</FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="CO"></FilingAirline>
<DepartureAirport LocationCode="MIA"></DepartureAirport>
<ArrivalAirport LocationCode="EWR"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T20:10:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="JFK"></DepartureAirport>
<ArrivalAirport LocationCode="BOM"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-10T00:01:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 05APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="BOM"></DepartureAirport>
<ArrivalAirport LocationCode="CCU"></ArrivalAirport>
</FareInfo>
</FareInfos>
</AirItineraryPricingInfo>
<TicketingInfo TicketTimeLimit="2005-04-05T00:00:00"
TicketType="eTicket"></TicketingInfo>
</PricedItinerary>
<PricedItinerary SequenceNumber="3">
<AirItinerary DirectionInd="OneWay">
<OriginDestinationOptions>
<OriginDestinationOption>
<FlightSegment DepartureDateTime="2005-04-08T14:00:00"
ArrivalDateTime="2005-04-08T16:55:00" StopQuantity="0"
RPH="1" FlightNumber="2086" ResBookDesigCode="H" NumberInParty="3">
<DepartureAirport LocationCode="MIA">Miami International, FL,
US</DepartureAirport>
<ArrivalAirport LocationCode="LGA">New York-La Guardia, NY,
US</ArrivalAirport>
<OperatingAirline Code="AA">AMERICAN AIRLINES</OperatingAirline>
<Equipment AirEquipType="757">BOEING 757-200/300 JET</Equipment>
<MarketingAirline Code="AA">AMERICAN AIRLINES</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-08T20:10:00"
ArrivalDateTime="2005-04-09T22:55:00" StopQuantity="1"
RPH="1" FlightNumber="0102" ResBookDesigCode="L" NumberInParty="3">
<DepartureAirport LocationCode="JFK">New York-JFK, NY,
US</DepartureAirport>
<ArrivalAirport LocationCode="BOM">Mumbai, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="744">BOEING 747-400 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
<FlightSegment DepartureDateTime="2005-04-10T00:01:00"
ArrivalDateTime="2005-04-10T02:30:00" StopQuantity="0"
RPH="1" FlightNumber="0680" ResBookDesigCode="B" NumberInParty="3">
<DepartureAirport LocationCode="BOM">Mumbai, IN</DepartureAirport>
<ArrivalAirport LocationCode="CCU">Calcutta, IN</ArrivalAirport>
<OperatingAirline Code="AI">AIR INDIA</OperatingAirline>
<Equipment AirEquipType="310">AIRBUS INDUSTRIE 310 JET</Equipment>
<MarketingAirline Code="AI">AIR INDIA</MarketingAirline>
</FlightSegment>
</OriginDestinationOption>
</OriginDestinationOptions>
</AirItinerary>
<AirItineraryPricingInfo PricingSource="Published">
<ItinTotalFare NegotiatedFare="0">
<BaseFare Amount="279200" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="298880" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</ItinTotalFare>
<PTC_FareBreakdowns>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="1"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>HA0TN</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
<FareBasisCode>LWSPOW51</FareBasisCode>
</FareBasisCodes>
<PassengerFare>
<BaseFare Amount="104200" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="110760" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</PassengerFare>
</PTC_FareBreakdown>
<PTC_FareBreakdown>
<PassengerTypeQuantity Code="ADT" Quantity="2"></PassengerTypeQuantity>
<FareBasisCodes>
<FareBasisCode>HA0TN</FareBasisCode>
<FareBasisCode>LWSPOW51/CH25</FareBasisCode>
<FareBasisCode>LWSPOW51/CH25</FareBasisCode>
</FareBasisCodes>
<PassengerFare>
<BaseFare Amount="175000" CurrencyCode="USD"
DecimalPlaces="2"></BaseFare>
<TotalFare Amount="188120" CurrencyCode="USD"
DecimalPlaces="2"></TotalFare>
</PassengerFare>
</PTC_FareBreakdown>
</PTC_FareBreakdowns>
<FareInfos>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T14:00:00</DepartureDate>
<FareReference>HA0TN</FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AA"></FilingAirline>
<DepartureAirport LocationCode="MIA"></DepartureAirport>
<ArrivalAirport LocationCode="LGA"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T20:10:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="JFK"></DepartureAirport>
<ArrivalAirport LocationCode="BOM"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-10T00:01:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCode="BOM"></DepartureAirport>
<ArrivalAirport LocationCode="CCU"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T14:00:00</DepartureDate>
<FareReference>HA0TN</FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AA"></FilingAirline>
<DepartureAirport LocationCode="MIA"></DepartureAirport>
<ArrivalAirport LocationCode="LGA"></ArrivalAirport>
</FareInfo>
<FareInfo NegotiatedFare="0">
<DepartureDate>2005-04-08T20:10:00</DepartureDate>
<FareReference></FareReference>
<RuleInfo>
<ResTicketingRules>
<AdvResTicketing>
<AdvTicketing>LAST TKT DTE 06APR05 - SEE ADV PURCHASE
</AdvTicketing>
</AdvResTicketing>
</ResTicketingRules>
<ChargesRules>
<VoluntaryChanges>
<Penalty PenaltyType="TICKETS ARE NON-REFUNDABLE"></Penalty>
</VoluntaryChanges>
</ChargesRules>
</RuleInfo>
<FilingAirline Code="AI"></FilingAirline>
<DepartureAirport LocationCo

Thanks and Regards

Nov 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.