protected void writeImports(WSDLDescription desc) throws IOException, XMLStreamException {
//todo 1.1 pump does not populate the imports
//get the imports
List imports = desc.getImports();
int importCount = imports.size();
WSDLImport singleImport;
for (int i = 0; i < importCount; i++) {
singleImport = (WSDLImport) imports.get(i);
writer.writeStartElement(defaultWSDLPrefix, IMPORT_NAME, WSDL1_1_NAMESPACE_URI);
writer.writeAttribute("namespace", singleImport.getNamespace());
writer.writeAttribute("location", singleImport.getLocation());
writer.writeEndElement();
}
}