You need to sign in to do that
Don't have an account?
Steve
Request Compression
I know there are examples available of how to modifying Axis classes to enable compression on SOAP messages recieved from Salesforce.
But does anyone have an experience on how to send compressed messages from the client?
I understand that we need to set the message header "Content-Encoding" to gzip, but I'm not sure how to modify the Axis classes to get it to work.
If someone has done it before, I'd appreciate any help.
Thanks,
Steve
Hi Steve,
You are on the right track in that you do have to modify part of the Axis distribution to achieve this. The class to modify is org.apache.axis.transport.http.HTTPSender. This class contains a function called writeToSocket and a function called readFromSocket. These are the points at which you can compress and decompress the message from/to the web services.