#3554 closed enhancement (fixed)
Ability to get the error message and code of an OWS exception
Reported by: | iap | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapScript-PHP | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | assefa, dmorissette |
Description
At the moment if an OWS service exception occurs there is not way to find out what was that exception from PHP code.
For example there is a WMS request to the server with an invalid "EXCEPTION" parameter for version 1.3.0 which returns a GML with proper error message and code. It would be nice to catch/get this error (message a) and retry with a default request parameter for exception.
As an idea, the OWS service exception code and message are pushed to the MapServer ErrorObj.
Change History (5)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Cc: | added |
---|
No objection. I am wondering why that was done before but can not think of any issues by removing it.
comment:4 by , 13 years ago
Cc: | added; removed |
---|
this has I believe undesired effect #3571. I also originally misspelled Daniel's name in the cc column.
assefa, at the end of the ms*Exception() functions of OWS services, there is a call to msResetErrorList(), which remove the errors from the list and prevent users to get the error messages in mapscript. Do you have any objection to remove those calls?