Axis2/C and mod_gzip

View: New views
2 Messages — Rating Filter:   Alert me  

Axis2/C and mod_gzip

by Sam Carleton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am wondering, my Axis2/C server returns some large data sets to the .Net client. To make development easier, the WSDL element names are a bit long and verbose, but that adds useless size to an already large dataset.

Is it possible to use something like mod_gzip to compress the results of the result set?  If so is there something special I would need to do on the client side, which is a web browser, or will the web browser decompress it before giving it to the Silverlight application?  Anyone know?

Sam

Re: Axis2/C and mod_gzip

by Murphey McCloy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Assuming you are using httpd, mod_deflate should work fine.  The  
browser should decompress it for you.

All I had to do to get compressed responses was add the:
Set outputfilter deflate

Config to httpd.conf

And I was good to go.  Compressing requests was another matter  
entirely, but the code fixes for that have been accepted, I believe,  
and should also be relatively easy, if needed.



On Oct 2, 2009, at 7:11 AM, "Sam Carleton"  
<scarleton@...> wrote:

> I am wondering, my Axis2/C server returns some large data sets to  
> the .Net client. To make development easier, the WSDL element names  
> are a bit long and verbose, but that adds useless size to an already  
> large dataset.
>
> Is it possible to use something like mod_gzip to compress the  
> results of the result set?  If so is there something special I would  
> need to do on the client side, which is a web browser, or will the  
> web browser decompress it before giving it to the Silverlight  
> application?  Anyone know?
>
> Sam