requestXml.close();
out.flush();
out.close();
requestXml = new BufferedReader(new FileReader(temp)); // pretend like nothing has happened
PutStylesRequest serviceRequest = new PutStylesRequest((WMS) getServiceRef());
serviceRequest.setSldBody(sb.toString()); // save the SLD body in the request object
ServletContext context = request.getSession().getServletContext();
processSLD(serviceRequest, request, response, context);
} catch (SldException e) {