try { String rootElement = KVPUtils.getRequired( normalizedKVPParams, "REQUEST" ); CSWRequestType requestType = getRequestType( rootElement ); if ( requestType == null ) throw new OWSException( rootElement + " is not a known request type by this CSW",
private void doXML( OMElement requestElement, HttpResponseBuffer response ) throws OWSException, XMLStreamException, IOException { String rootElement = requestElement.getLocalName(); CSWRequestType requestType = getRequestType( rootElement ); if ( requestType == null ) throw new IllegalArgumentException( rootElement + " is not a known request type by this CSW" );