Ver Mensaje Individual
  #4  
Antiguo 22-03-2015
Avatar de jhonny
jhonny jhonny is offline
Jhonny Suárez
 
Registrado: may 2003
Ubicación: Colombia
Posts: 7.058
Reputación: 29
jhonny Va camino a la famajhonny Va camino a la fama
Me he permitido sugerir esta manera, aplicada a lo que estás haciendo, lo cual sería solamente agregar EncdDecd al uses y cambiar el procedimiento llamado ConverZipFile un poco, así:

Código Delphi [-]
uses Soap.EncdDecd;

procedure ConverZipFile(XML: String);
    var
  Doc     : IXMLDocument;
  Elemento: IXMLNode;
  ByteB   : TByteDynArray;
begin
  Doc := LoadXMLData(XML);
  Elemento := Doc.DocumentElement.ChildNodes.FindNode('S:Body');
  Elemento := Elemento.ChildNodes.Get(0);
  Elemento := Elemento.ChildNodes.Get(0);
  ByteB:=TByteDynArray(EncdDecd.DecodeBase64(XML));
  ByteArrayToFIle(ByteB,'D:\E-Billing\demo.ZIP');
end;

Espero te sirva.
__________________
Lecciones de mi Madre. Tema: modificación del comportamiento, "Pará de actuar como tu padre!"

http://www.purodelphi.com/
http://www.nosolodelphi.com/
Responder Con Cita