GetInformation
The GetInformation method sends the Apollo and Galileo profile and the XML document listing the flights for which the user wants information. This method returns an XML document with the scheduled or real-time flight data. See Request for an example of a GetInformation request.
The following samples illustrate how to use the GetInformation method using SOAP.
SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
Request
POST /XmlSelect/FlightInformation.asmx HTTP/1.1 Host: testws.galileo.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.galileo.com/FlightInformation/GetInformation" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soapenv:Envelope> |
Response
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soapenv:Envelope> |