resource.getPrefixToNamespaceMap().put(WSDL_PREFIX,WSDL_NAMESPACE);
process.updateElement();
//write(process.getElement(),outstream);
resource.save(outstream,Collections.EMPTY_MAP);
//if (outputToConsole)
// resource.save(System.out, Collections.EMPTY_MAP);
}
} catch (Exception e){