To test your Web Service Consumer code, you can use the following test data:
For testing purposes I have considered the Flight No# SK400, which is a scheduled flight from STOCKHOLM, SWEDEN (ARN) to COPENHAGEN, DENMARK (CPH). You have to enter “400” for the flight number (usually they are SK400, but we need to pass in only integer for flight number).
You can find all Scandinavian flight codes at SAS Website provided in related links.
Flight Status check on the above flight will return a XML string that looks like below:
- <Flight FlightNo="400" Date="20011007" Cancelled="false">
- <Segments>
- <Segment Index="0">
<From>CPH</From>
<To>ARN</To>
<STD>07:30</STD>
<STA>08:40</STA>
<ETD>--:--</ETD>
<ETA>08:34</ETA>
<ATD>07:28</ATD>
<ATA>08:30</ATA>
- </Segment>
- <Segments>
</Flight
“TD” and “TA” represent “Time of Departure” and “Time of Arrival” respectively, and “S”, “E” and “A” as prefix represents “Scheduled”, “Estimated” and “Actual” respectively.