while (iterator.hasNext()) {
String id = iterator.next();
WsdlDefinitions wsdl = wsdls.get(id);
XmlElement importElement = process.xml().newElement(process.xml().getNamespace(), "import");
importElement.setAttributeValue("importType", "http://schemas.xmlsoap.org/wsdl/");
importElement.setAttributeValue("location", wsdl.xml().attributeValue("name") + ".wsdl");
importElement.setAttributeValue("namespace", wsdl.getTargetNamespace());
process.xml().addChild(0, importElement);
}