I have a webservice where one of the function calls is supposed to return a gzip stream.
I'm using the NUSOAP package to do this...
Now, if I just return the output of gzcompress() things don't work at all.
So I tried base64 encoding the thing, and it got through exactly as I sent it... problem is my receiving application (C#) can't seem to decode it in the right way... so I tried uuencode, same result.
Anyone have any experience in getting binary data out through SOAP in a way that's easy for all applications to access it?
I mean maybe I just need to tweak the base64decoding functions I have, or the uudecode functions, but I'm not sure exactly what's happening here and figured I'd come ask if perhaps there's just a more standard way to approach this.
I'm using the NUSOAP package to do this...
Now, if I just return the output of gzcompress() things don't work at all.
So I tried base64 encoding the thing, and it got through exactly as I sent it... problem is my receiving application (C#) can't seem to decode it in the right way... so I tried uuencode, same result.
Anyone have any experience in getting binary data out through SOAP in a way that's easy for all applications to access it?
I mean maybe I just need to tweak the base64decoding functions I have, or the uudecode functions, but I'm not sure exactly what's happening here and figured I'd come ask if perhaps there's just a more standard way to approach this.