Many people don’t know the web services has a feature to compress the information for request and response to exchange data between client and server.
The advantages of using this feature are that you can send high volume information in web services without reducing the performance, for example, you can send an XML payload of size 40 MB compressed in some 800 kb.
To enable this you need to add some headers in your web service consumer client. In case to PI/PO the equivalent is adding these parameters in SOAP module adapter configuration: Like this:
But you need check which direction of the communication channel is configured, in the previous SAP PI documentation describe the configuration:
The receiver SOAP adapter uses these parameters for the request message; the sender
SOAP adapter uses these parameters for the response message.
If you’re using a Java client with axis you could enable this feature adding this lines into your Out Binding Stub class:
org.apache.axis.client.Call _call = createCall();
// other conf props...
This is imperceptible for PI/PO because into the PIMON you can see the message size as normal size, you can check the web service consumer to validate if the request is compressed or not.