paramName = (String) pnames.nextElement();
paramValue = request.getParameter(paramName);
requestParams.put(paramName.toUpperCase(), paramValue);
}
PutStylesKvpReader requestReader = new PutStylesKvpReader(requestParams, (WMS) getServiceRef());
PutStylesRequest serviceRequest; // the request object we will deal with
try {
serviceRequest = (PutStylesRequest) requestReader.getRequest(request);
} catch (ServiceException e) {
e.printStackTrace();
return;
}