JavaWsdlMapping mapping = jwsdl.getJavaWsdlMapping();
createWrapperTypes(j2wc, outDir, unifiedMetaData, mapping, endpointClass);
Writer writer = IOUtils.getCharsetFileWriter(new File(outDir + "/" + j2wc.mappingFileName), Constants.DEFAULT_XML_CHARSET);
writer.write(Constants.XML_HEADER);
writer.write(DOMWriter.printNode(DOMUtils.parse(mapping.serialize()), true));
writer.close();
}
//Generate the webservices.xml file
if (j2wc.wsxmlFileNeeded)