How to apply code for decode base64 Zip File and extract the XML File in NAV2009 Classic Client?.

Hi,

how to apply code to decode Base64 Zip File in Blob Field and extract the File from Zip Folder in NAV2009Classic Client. Now with existing code it works fine when attachment in XML file is PDF, it is properly encoded and write the file details in Blob field and read (decode) in Navision. But when it is Zip File, it throws error while decoding like below.Decoe error while extraact the XML from Zip File.PNG