if (parameters.get("xsd") == null || "".equals(parameters.get("xsd"))) {
AxisService service = (AxisService) configurationContext.getAxisConfiguration()
.getServices().get(serviceName);
if (service != null) {
try {
service.printSchema(response.getOutputStream());
response.setHeader(CONTENT_TYPE, TEXT_HTML);
response.setStatus(ResponseStatus.OK);
} catch (AxisFault axisFault) {
handleException("Error writing ?xsd output to client", axisFault, response);