Skip to content

Commit ae61d9c

Browse files
committed
Centralize OWS exceptionCode values as #define and use them in WFS server implementaton
1 parent 2d6042e commit ae61d9c

File tree

4 files changed

+81
-68
lines changed

4 files changed

+81
-68
lines changed

mapowscommon.h

+13
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,19 @@
136136
#define MS_DEFAULT_NAMESPACE_URI "http://mapserver.gis.umn.edu/mapserver"
137137

138138

139+
/* OWS errors */
140+
141+
/* OWS 1.1.0 Table 25 */
142+
#define MS_OWS_ERROR_OPERATION_NOT_SUPPORTED "OperationNotSupported"
143+
#define MS_OWS_ERROR_MISSING_PARAMETER_VALUE "MissingParameterValue"
144+
#define MS_OWS_ERROR_INVALID_PARAMETER_VALUE "InvalidParameterValue"
145+
#define MS_OWS_ERROR_VERSION_NEGOTIATION_FAILED "VersionNegotiationFailed"
146+
#define MS_OWS_ERROR_INVALID_UPDATE_SEQUENCE "InvalidUpdateSequence"
147+
#define MS_OWS_ERROR_OPTION_NOT_SUPPORTED "OptionNotSupported"
148+
#define MS_OWS_ERROR_NO_APPLICABLE_CODE "NoApplicableCode"
149+
150+
#define MS_WFS_ERROR_OPERATION_PROCESSING_FAILED "OperationProcessingFailed"
151+
139152
#ifdef USE_LIBXML2
140153

141154
/* function prototypes */

0 commit comments

Comments
 (0)