i used the wsimport tool to create a soap client which is working very well. Now I like to request a compressed response from the server because the responses can be quite big.
I don't know if the server is able to send compressed content. As far as I know I have to add something like "Accept-Encoding: gzip" in the request.
How and where do I do that?
Thanks
If your using ksoap jar for soap request then you need to set your compress method name on your header request. To set header your can use HeaderProperty class for that. Here is a simple example to send soap request.