service.getName().getLocalPart() + ".wsdl");
WSDLGeneratorFactory factory = WSDLGeneratorFactory.getInstance();
factory.setWSDLVersion(getWSDLVersion());
AbstractGenerator generator = factory.newGenerator();
generator.setAllowImports(context.containsKey(ToolConstants.CFG_CREATE_XSD_IMPORTS));
generator.setServiceModel(service);
generator.generate(output);
}