Inside the WSDL & Web Services Proxies
page 15 of 16
by Anonymous Contributor
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 65278/ 87

Test Data and Result XML

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.


View Entire Article

User Comments

Title: Webservice   
Name: Anbazhagan. P
Date: 2009-03-14 12:47:38 PM
Comment:
Very useful website
Title: rakesh   
Name: Name rakesh
Date: 2007-09-13 3:38:58 AM
Comment:
Ok Run
Title: Getting Error   
Name: Dilip Kumar Prusty
Date: 2006-09-18 5:19:48 AM
Comment:
I am getting
The request failed with HTTP status 404: Not Found.
this error .

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-16 10:59:25 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search