Error with FlightXML3 AirlineFlightSchedules


I’m trying to use the AirlineFlightSchedules service but I’m getting the following error when performing the call, also a copy of my example code is below:

{“End element ‘Fault’ from namespace ‘’ expected. Found element ‘SOAP-ENV:detail’ from namespace ‘’. Line 2, position 361.”}

var client = new FlightXML3SoapClient();
            client.ClientCredentials.UserName.UserName = ConfigurationManager.AppSettings["FlightAwareUsername"];
            client.ClientCredentials.UserName.Password = ConfigurationManager.AppSettings["FlightAwareAPIKey"];

            string airlineCode = "";

            switch (airlineId)
                case 1: //united airlines
                    airlineCode = "UA";
                case 2://jet blue
                    airlineCode = "JBU";
                case 3://wow
                    airlineCode = "WW";

            var res = client.AirlineFlightSchedules((int) startDate.Ticks, (int) endDate.Ticks, "", "LAX",
                airlineCode, "", false, 15, 0);


I’ve reproduced the error and I’m looking into the root cause. I’ll have an update for you in the next day.


Hi, have you had any luck fixing this issue?


Sorry haven’t had a chance to really dig into with the hurricane issues this week. We have a ticket open for it, but I don’t have a resolution for you yet. By chance have you tried using the REST interface instead of the SOAP one?

I think it’s some issue with the SOAP schema compatibility, but all my checks on the raw SOAP response pass as valid SOAP. If I find a resolution I’ll be sure to pass it along and update the documentation accordingly.