protected void processWsdlRequest(MessageContext msgContext,
HttpServletResponse response,
PrintWriter writer) throws AxisFault {
AxisEngine engine = getEngine();
try {
engine.generateWSDL(msgContext);
Document doc = (Document) msgContext.getProperty("WSDL");
if (doc != null) {
response.setContentType("text/xml");
XMLUtils.DocumentToWriter(doc, writer);
} else {