1 - from the .NET 2008 web service (vb), I have a method that returns an array of bytes, the byte array is actually the string "Hola Mundo" ("Hello World" in English), compressed by the System.IO class .Compression GZipStream.
2 - The method returns the string "Hola Mundo", compressed, and this is what the webservice returns:
<base64Binary>
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/Ir5dlVn6xXo5q/4f0m5DIgoAAAA=
</base64Binary>
3 - if I do a test from a Windows application from Visual Basic.NET to run this method, it returns me this line and Unzip with another function that I have, it brings me "Hola Mundo" ....
4 - on Android (Eclipse), and I managed to make a request and bring me the previous line ... but I don’t know how to unzip and show me "Hola Mundo" ...
5 - I tried several codes from the Internet, but nobody works.
Does anyone know about this? thank you very much.
Hey.
source
share