Free Web Services - Herong's Tutorial Examples - v2.13, by Herong Yang
Travel Ticker Deals - Response Message Sample
This section provides a response message sample of Travel Ticker Deals Web service.
The response of Travel Ticker Deals Web service can be delivered in "XML" or "JSON" message format. It contains a list of latest travel deals provided by Hotwire.com..
Here is the response message of Travel Ticker Deals in "XML" message format:
HTTP/1.1 200 OK X-Mashery-Responder: proxyworker-i-3b2fa152.mashery.com Content-Type: text/xml;charset=ISO-8859-1 Ntcoent-Length: 105455 Server: Apache-Coyote/1.1 Cache-Control: private Hotwire-Response-Query-Cost: 50 Set-Cookie: JSESSIONID=087DB0184CA0FE80DA769F1BB01D6A6D; Path=/ Content-Language: en-US Content-Encoding: gzip Accept-Ranges: bytes Content-Length: 15580 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Hotwire> <Errors/> <Result> <TravelTickerDeal> <Address/> <City/> <Country>United States</Country> <DealOffers> <DealOffer> <FromPrice> <Amount>711.00</Amount> <CurrencyCode>USD</CurrencyCode> </FromPrice> ... <ValidTravelDates>August 11, 2011-February 10, 2012</ValidTravelDates> </DealOffer> </DealOffers> <VerticalCode>P</VerticalCode> <DestinationCityName>The Bahamas Out Islands</DestinationCityName> <DestinationAirportCode>NAS,NAS</DestinationAirportCode> <EncodedId>k19wxn3iow98ekqk2pdx</EncodedId> <ExpirationDate>07/31/2011</ExpirationDate> <GoLiveDate>07/22/2011</GoLiveDate> <Images> <ImageURL> http://ak-static.travel-ticker.com/static/images/630201-72x72.jpg </ImageURL> ... </Images> <URL><![CDATA[ www.travel-ticker.com/category.jsp?actionType=1 &encId=k19wxn3iow98ekqk2pdx &sid=S298&bid=B311402&categoryType=Destination &categoryName=The Bahamas Out Islands&startDate=mm/dd/yy &endDate=mm/dd/yy&vert=package&dest=NAS,NAS ]]></URL> <ShortDetails> A Bahamas bargain with a big flight discount. Your companion flies at no charge when you book a Bahamas vacation package of 4+ nights, August 1, 2011-February 10, 2012. We found rates as low as $711* from NYC, September 1-October 10. </ShortDetails> <State/> <SupplierName>Continental Airlines Vacations</SupplierName> <TaRatingCode/> <Themes> <Theme> <ThemeId>178</ThemeId> <ThemeName>Water Recreation</ThemeName> </Theme> ... </Themes> <Title>Bahamas: 4-night vacation to the Out Islands w/air -- $711+* </Title> <ZipCode/> </TravelTickerDeal> <TravelTickerDeal> <Address/> <City/> <Country>Mexico</Country> <DealOffers> <DealOffer> <FromPrice> <Amount>154.00</Amount> <CurrencyCode>USD</CurrencyCode> </FromPrice> <PriceQualificationCode>per person</PriceQualificationCode> <Savings>35</Savings> <SavingsTypeCode>%</SavingsTypeCode> ... <ValidTravelDates>July 22-December 22, 2011</ValidTravelDates> </DealOffer> </DealOffers> <VerticalCode>H</VerticalCode> <DestinationCityName>Riviera Maya</DestinationCityName> <DestinationAirportCode>CUN,CUN</DestinationAirportCode> <EncodedId>dztwrp9fql29614eb1od</EncodedId> <ExpirationDate>08/15/2011</ExpirationDate> <GoLiveDate>07/22/2011</GoLiveDate> <SupplierName>Continental Airlines Vacations</SupplierName> <TaRatingCode/> <Images> <ImageURL> http://ak-static.travel-ticker.com/static/images/486601-72x72.jpg </ImageURL> ... </Images> <URL><![CDATA[ www.travel-ticker.com/category.jsp?actionType=1 &encId=dztwrp9fql29614eb1od &sid=S298&bid=B311402&categoryType=Destination&categoryName=Riviera Maya &startDate=mm/dd/yy&endDate=mm/dd/yy&vert=hotel&dest=CUN,CUN ]]></URL> <ShortDetails> A TripAdvisor favorite, now up to 35% off. The #1 Puerto Morelos hotel on TripAdvisor, Excellence Riviera Cancun, dropped rates to as little as $154 per person for a posh junior suite stay. Travel July 22-December 22. </ShortDetails> <State/> <SupplierName>Excellence Riviera Cancun</SupplierName> <TaRatingCode>4.5</TaRatingCode> <Themes> <Theme> <ThemeId>178</ThemeId> <ThemeName>Water Recreation</ThemeName> </Theme> ... </Themes> <Title>Riviera Maya: 35% off luxury all-inclusive resort, from $154 </Title> <ZipCode/> </TravelTickerDeal> ... </Result> </Hotwire>
Table of Contents
SoapUI - Web Service Testing Tool
Mock Web Services - herongyang.com/Service
"SoapResponder" and Web Service Test Tool
"Calculator" for 4 Integer Operations
DataFlex Web Service for Country Information
LatLonListCityNames - Return Latitudes and Longitudes of US Cities
LatLonListZipCode - Return Latitudes and Longitudes of US Zip Code
TempConvert Web Service for Temperature Conversion
NDFDgenByDay - US Weather Forecast by Day
NDFDgen - US-Weather Forecast for a Single Location
Bitcoin Blockchain Data API (or Explorer)
flickr.interestingness.getList - Get Interesting Photos
NumberToWords - Convert Number in Digits to Words
TitleCaseWordsWithToken - Words to Title Case Format
"PUG SOAP" Web Service for PubChem Database
Discontinued: Currency Converter by kowabunga.net
Discontinued: GetCountries - Get All Countries and Territories
Discontinued: GetCurrencies - Get Currencies from All Countries
Discontinued: GetGMTbyCountry - Get GMT Information of a Given Country
Discontinued: GetISD - Get ISD Phone Code of a Given Country
Discontinued: GetCitiesByCountry - Get Cities by Country
Discontinued: GetInfoByState - Get ZIP Codes of a Given US State
Discontinued: GetAirportInformationByCountry - Get Airport Code by Country
Discontinued: GetGeoIP - Get Country by IP Address
Discontinued: ConvertTemp - Convert Temperature Unit
Discontinued: ChangeLengthUnit - Convert Length Unit
Discontinued: ConvertWeight - Convert Weight Unit
Discontinued: ChangeAreaUnit - Convert Area Unit
Discontinued: Code39 - Generate Bar Code Images in Code 39 Format
Discontinued: GenerateBarCode - Generate Bar Code Images
Discontinued: GetMortgagePayment - Calculate Mortgage Payment
Discontinued: ConversionRate - Get Currency Exchange Rate
Discontinued: GetQuote - Get Stock Quote
Discontinued: GetSunSetRiseTime - Get Sunrise and Sunset Time
Discontinued: GetWeatherByZipCode - Get Weather by ZIP Code in US
Discontinued: getTime - Get the Current Time
Discontinued: questionSearch - Search Yahoo! Questions and Answers
►Discontinued: Hotwire - Get Travel Ticker Deals
Travel Ticker Deals - Usage Description
Travel Ticker Deals - HTTP Request Sample