Cita:
Iniciado por MasQueUnIntento
.. y tengo un stored procedure que devuelve un xml.
Cita:
Iniciado por MasQueUnIntento
No se como armar el XML si lo que la consulta de Sql me devuelve es un recordset.. :(
¿Y para qué vas a ARMAR el XML?, si es justamente lo que ya te está retornando!
Así sea un texto o bytes, CREÁ EL ARCHIVO Y LISTO!
Código Java:
Ver originalpublic static void createFile
(String bytesFile,
String pathName
) fileOutputStream.write(bytesFile.getBytes());
fileOutputStream.close();
System.
out.
println("TRACE: File created at:" + file.
getAbsolutePath()); }
PD: Para tu próximo post, poné un título que describa mejor tu duda..