Opened 18 years ago
Closed 18 years ago
#1740 closed defect (fixed)
[OGC:SOS] Exception fixes namespaces / elements
Reported by: | tomkralidis | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | SOS Server | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
1./ When throwing a ServiceException in SOS, the ows:Exception element MUST have an attribute called exceptionCode, which is defined by OWS Common as: "A code representing the type of this exception, which shall be selected from a set of exceptionCode values specified for the specific service operation and server." For now, you can put "MS_FAILURE", or if a numerical exception value exists in the mapserver process, use that. So, an example would be: <ows:Exception exceptionCode="MS_FAILURE"> NB: you don't need to define the ows namespace in this element (as in the code). It's already defined in the root element. Also, all OWS Common namespaces should be def'd as: http://www.opengis.net/ows NOT http://www.opengeospatial.net/ows
Change History (3)
comment:2 by , 18 years ago
Note: it turns out that the SOS spec reverts to clause 8 of OWS Common for exceptionCode enumerations. I've made some local changes to mapogcsos.c (can post or send to Assefa). I've made msSOSException a 3 argument function, where the 3rd argument is a string as per clause 8 of OWS Common, and have changed all the function calls to pass the appropriate clause 8 value.
Note:
See TracTickets
for help on using tickets.