Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This answer is in XML format. The corresponding XSD (explained in Chapter 2 - . Simple Object Access Protocol (SOAP)) is hopefully placed in the documentation of the web service. If not, you will have to generate your own XSD on this answer and hope that it is correct. This is the largest drawback of REST services.

...

  • The first part is the location of the webservice (http://services.faa.gov)
  • The next part is a fragment (/airport/status/IAD). Fragments are used to supply information to the web service. This particular fragment indicates that you want to retrieve the airport status from the airport with code IAD. You can request information on a different airport by changing the URL, for example: http://services.faa.gov/airport/status/JFK?format=xml.
  • Everything after the '?' are arguments. They essentially are also just information for your request. In this example the argument determines the answer format. It was set to XML in the example above. Try a JSON format by following this URL: http://services.faa.gov/airport/status/JFK?format=json

 

Panel
Section
Column
width50%

 Previous

...

:

...

 2

...

. Simple Object Access Protocol (SOAP)

Column

Next

...

: Chapter 4 - Calling a SOAP service

...

 

...