Copyright © 2011 Open Geospatial Consortium.
91
19.2.3 SOAP 1.2 Fault Binding
Requirement http:www.opengis.netspecSWES2.0reqSOAPFaultFaultBinding1.2
REQ 72. The abstract fault properties as defined in section 19.2.1 bind to
a SOAP 1.2 fault as follows: • The value of the [Code] property is bound as the value
of the SOAP faults soap12:Faultsoap12:Codesoap12:Value element
information item.
• The value of the [Subcode] property is bound as the value of the optional SOAP faults
soap12:Faultsoap12:Codesoap12:Subcodesoap12:Valu e element information item.
• The value of the [Reason] property is bound as the value of the SOAP faults
soap12:Faultsoap12:Reasonsoap12:Text element information item with appropriate language indicator
depending upon the chosen language.
• The value of the [Details] property is bound as child elements of the SOAP faults soap12:Faultsoap12:Detail
element information item.
19.2.4 Exceptions recognized by SWES as SOAP faults
NOTE Each operation defined in this standard may have additional requirements with respect to the
implementation of the ows:Exception element to be used in the [Details] property of faults generated while performing that operation. These requirements are stated in the according clauses of each operation.
19.2.4.1 OperationNotSupported exception
The meaning of this exception code is defined in table 25 of [OGC 06-121r3].
92
Copyright © 2011 Open Geospatial Consortium.
Requirement
http:www.opengis.netspecSWES2.0reqSOAPFaultOperationNotSupportedException
REQ 73. The abstract fault properties for this exception shall be as
follows: • [Code] The QName soap11:Client SOAP 1.1 or
soap12:Sender SOAP 1.2 • [Subcode] The QName ows:OperationNotSupported
• [Reason] the string: “The requested operation is not supported by this server.”
• [Details] An ows:Exception element as defined in clause 8.2 of [OGC 06-121r3]
19.2.4.2 MissingParameterValue exception
The meaning of this exception code is defined in table 25 of [OGC 06-121r3]. Requirement
http:www.opengis.netspecSWES2.0reqSOAPFaultMissingParameterValueException
REQ 74. The abstract fault properties for this exception shall be as
follows: • [Code] The QName soap11:Client SOAP 1.1 or
soap12:Sender SOAP 1.2 • [Subcode] The QName ows:MissingParameterValue
• [Reason] the string: “The request did not include a value for a required parameter and this server does not declare
a default value for it.” • [Details] An ows:Exception element as defined in clause
8.2 of [OGC 06-121r3]
19.2.4.3 InvalidParameterValue exception
The meaning of this exception code is defined in table 25 of [OGC 06-121r3].
Copyright © 2011 Open Geospatial Consortium.
93 Requirement
http:www.opengis.netspecSWES2.0reqSOAPFaultInvalidParameterValueException
REQ 75. The abstract fault properties for this exception shall be as
follows: • [Code] The QName soap11:Client SOAP 1.1 or
soap12:Sender SOAP 1.2 • [Subcode] The QName ows:InvalidParameterValue
• [Reason] the string: “The request contained an invalid parameter value.”
• [Details] An ows:Exception element as defined in clause 8.2 of [OGC 06-121r3]
19.2.4.4 VersionNegotiationFailed exception
The meaning of this exception code is defined in table 25 of [OGC 06-121r3]. Requirement
http:www.opengis.netspecSWES2.0reqSOAPFaultVersionNegotiationFailedException
REQ 76. The abstract fault properties for this exception shall be as
follows: • [Code] The QName soap11:Client SOAP 1.1 or
soap12:Sender SOAP 1.2 • [Subcode] The QName ows:VersionNegotiationFailed
• [Reason] the string: “The list of versions in the ‘AcceptVersions’ parameter value of the GetCapabilities
operation request did not include any version supported by this server.”
• [Details] An ows:Exception element as defined in clause 8.2 of [OGC 06-121r3]
19.2.4.5 InvalidUpdateSequence exception