I am using the FlightInfo method in coldfusion to return the results for the flight number entered.
If I enter a wrong or invalid flight number it gives the following error
" 500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed. "
And the error is in the line
aFlightInfoStruct = ws.FlightInfo(stFlightInfo);
My questions here are
- Is there a method that validates the flight number ?
- How to avoid the internal sever error ?
Please help me solve this
Thanks in advance