[Geoserver-devel] [jira] Created: (GEOS-2554) Missing service information in get requests results in the wrong error message

Missing service information in get requests results in the wrong error message
------------------------------------------------------------------------------

                 Key: GEOS-2554
                 URL: http://jira.codehaus.org/browse/GEOS-2554
             Project: GeoServer
          Issue Type: Bug
          Components: WCS, WFS, WMS
    Affects Versions: 1.7.1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.2

The following request:

http://localhost:8080/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=tiger_texas_

results in:

{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
  xsi:schemaLocation="http://www.opengis.net/ows http://localhost:8080/geoserver
/schemas/ows/1.0.0/owsExceptionReport.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xmlns:ows="http://www.opengis.net/ows&quot; xmlns:xml="http://www.w3.org/XML/1998/namespace&quot;&gt;
  <ows:Exception exceptionCode="NoApplicableCode">
    <ows:ExceptionText>org.geoserver.platform.ServiceException: Service null is disabled
Service null is disabled</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>
{code}

Whilst the actual error code should report the lack of a required parameter.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira