> with Modules::SoapServer containing:
> 
> 
> my $server = SOAP::Transport::HTTP::Apache -> dispatch_to("SoapCalls");
> 
> sub handler { $server->handler(@_) }
> 

your handler() subroutine needs to be Apache::Filter aware.  you can find
out how to do that via the Apache::Filter docs on cpan

  http://search.cpan.org/dist/Apache-Filter/

or some sample code, for example

  http://www.modperlcookbook.org/code/ch15/Cookbook-Clean-0.04/Clean.pm

> 
> I've tried changing the config as follows:
> 
> <Location /soapserver/>
>         PerlSendHeader On
>         SetHandler perl-script
>         PerlHandler Modules::SoapServer Apache::Compress
>         PerlSetVar Filter On
>         Order deny,allow
>         Allow from all
> </Location>
> 
> and by putting some debug in Apache::Compress, I've confrimed that it
> is actually being called and is reaching the point at which it gzips
> the data and sends it off, but when I make a SOAP request with a
> "Accept-Encoding: gzip" header, I don't get compressed data back.
> 
> Any ideas?

HTH

--Geoff

Reply via email to