OWS Common, which is what WCS uses to define errors etc, tells us that:
InvalidParameterValue: Operation request contains an invalid parameter value
and
OperationNotSupported: Request is for an operation that is not supported by this server
and also
OptionNotSupported: Request is for an option that is not supported by this server
An Operation
here is intended to mean GetCapabilities
, GetCoverage
, DescribeCoverage
(from WCS core), but could include other operations provided by extensions, such as ProcessCoverages
or DescribeSpatialObjectType
... even though these are specified using parameter values in a request.
An invalid parameter is when a parameter value (other than a value specified using a request parameter) is completely wrong, so considering the KVP syntax (HTTP GET) as below:
KVP syntax (name=value&)
If you were to specify version=9.2.7& then you should get the InvalidParameterValue error.
If you were to specify request=getcapabilites& then you should get OperationNotSupported, because in KVP syntax the value is case sensitive, and the specification tells us we must use the spelling GetCapabilities
.
Similarly if you specify Request=GetXXX& then you should get OperationNotSupported
So in this example from a GeoServer service:
http://xxx.bgs.ac.uk/BGS_EMODNET/ows?service=WCS&request=GetXXX&version=2.0.1&
Gives us:
<ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0.0" xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="OperationNotSupported" locator="GetXXX">
<ows:ExceptionText>No such operation WCS 2.0.1 GetXXX
[]</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Which is the expected response
I see that MapServer for a similar request
http://yyy.bgs.ac.uk/cgi-bin/BGS_EMODnet_bathymetry/ows?service=WCS&version=2.0.1&request=GetXXX&CoverageId=BGS_EMODNET_AegeanLevantineSeas-MCol&
Gives us:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0.1" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="InvalidParameterValue" locator="request">
<ows:ExceptionText>msWCSDispatch(): WCS server error. Invalid REQUEST parameter "GetXXX"</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Which is not the expected response, so that is an error/misinterpretation of the specification and you may want to file a bug report.