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