It uses the Content-Encoding capability of HTTP. The Apache SOAP client always understands something gzipped. It will gzip a payload only when you specify with setGzip(true). The service always understands something gzipped. It will only gzip a payload if both the deployment descriptor enables it *and* the client sends an Accept- Encoding HTTP header that says it can read gzip. Therefore, a client that cannot unzip will never get something from the service that is zipped (and will also not benefit from such zipping!)
On 31 Jan 2003 at 9:41, Jesus M. Salvo Jr. wrote: > > Is this a standard part of SOAP ( compressing the message )? Or is this > only something between Apache-SOAP client and an Apache-SOAP service? > > Scott Nichol wrote: > > >If you use a nightly build of SOAP, there is a setGzip method on > >SOAPContext that allows you to specify that the payload should be > >gzipped. There is also support for a deployment descriptor option to > >gzip the payload sent by the service. The nightly build has a gzip > >sample that demonstrates this. > > > >On 30 Jan 2003 at 12:54, Malte Kempff wrote: > > > > > > > >>Hi everyone, > >>I am using Soap for doing RPCs in an Java-Web-Start-application. > >>I need to transfer a log of Data and this takes a while. > >>As far I understand the xml which soap produces is not packed in a way. Is > >>Soap able to pack its messages which are transported? > >>When yes what do I have to do for it? > >> > >>many thanks in advance, > >> > >>Malte > >> > >> > >> > >>-- > >>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > >> > >> > >> > >> > > > > > >Scott Nichol > > > > > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > -- > Jesus M. Salvo Jr. > Mobile Internet Group Pty Ltd > (formerly Softgame International Pty Ltd) > M: +61 409 126699 > T: +61 2 94604777 > F: +61 2 94603677 > > PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0BA5348 > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > Scott Nichol -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>