Please let the rest of us know what the ZLIB fix is. I assume you are talking 
about zlib V1.2.3 released july 18, 2005 on www.zlib.net.

Thanks,
SLDR
(Stephen L. De Rudder)

--- In [email protected], "bslatner" <br...@...> wrote:
>
> I eventually solved this problem, but I had to modify ZLib to get it working. 
> Contact me by e-mail if you need the fix.
> 
> --- In [email protected], "bslatner" <bryan@> wrote:
> >
> > Using GSOAP 2.7.14 compiled with WITH_ZLIB option under 64-bit windows 
> > (although the code is compiled for 32-bit).
> > 
> > I'm making a request to a server and it is returning
> > 
> > I ran it through Fiddler (HTTP debugger) and it was able to deflate it, and 
> > I also ran the raw data through an InflaterInputStream from the Sharp Zip 
> > Library and it was able to deflate it.
> > 
> > Tracing through stdsoap2.cpp with a debugger reveals that the inflate() 
> > call made from soap_recv_raw is failing. I traced into that, and it seems 
> > that the inflate() function is expecting there to be some sort of header on 
> > the data that isn't there. It fails on this code in the "case HEAD" block:
> > 
> > if (BITS(4) != Z_DEFLATED) {
> >     strm->msg = (char *)"unknown compression method";
> >     state->mode = BAD;
> >     break;
> > }
> > 
> > Any advice on how to get this working?
> > 
> > A trace of a failed session can be found at 
> > http://www.slatner.com/quick/SoapExample.zip
> > 
> > The TestBytes.bin file in there contains the raw binary data that I was 
> > able to deflate using Sharp Zip Lib's InflaterInputStream.
> >
>


Reply via email to