/**
* Creates the DOM tree for implementations.
*/
protected Document createDOMDocumentForInterfaceImplementation() throws Exception {
WSDLInterface boundInterface = infoHolder.getWSDLinterface();
WSDLBinding binding = infoHolder.getBinding();
String packageName = configuration.getPackageName();
String localPart = getCoreClassName(boundInterface);
String stubName = localPart + STUB_SUFFIX;
Document doc = getEmptyDocument();
Element rootElement = doc.createElement("class");
addAttribute(doc, "package", packageName, rootElement);
addAttribute(doc, "name", stubName, rootElement);
addAttribute(doc, "servicename", localPart, rootElement);
addAttribute(doc, "namespace", boundInterface.getName().getNamespaceURI(), rootElement);
addAttribute(doc, "interfaceName", localPart, rootElement);
addAttribute(doc, "callbackname", localPart + CALL_BACK_HANDLER_SUFFIX, rootElement);
// add the wrap classes flag
if (configuration.isPackClasses()) {