cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

gzip compression

rohit_goel
Participant
0 Likes
2,286

Hi Experts ,

I want some information about data compression in XI.(gzip compression)

How is this possible in XI to send compressed data ?I am using SOAP adapter at sender side...

how can we analyse the data..?

Regards,

Rohit

Accepted Solutions (0)

Answers (5)

Answers (5)

rohit_goel
Participant
0 Likes

Hi Stefan,

The web service client has to request the compression.

can u pls elaborate what do u mean by this..??

Regards

Rohit

stefan_grube
Active Contributor
0 Likes

The web service client has to set in the request following HTTP header

Accept-Encoding: gzip

I have posted this already.

Regards

Stefan

rohit_goel
Participant
0 Likes

Hi Stefan,

In Sender SOAP adapter configuration,

in module tab page , i have given these entries.even then i am not able to see any kind of compression..

stefan_grube
Active Contributor
0 Likes

I am not talking about the SOAP adapter configuration, but about the web service client.

The web service client has to request the compression.

Regards

Stefan

rohit_goel
Participant
0 Likes

My scenario is SOAP--XI--BAPI(R/3 system)

I have configured SOAP sender communication channel and in the module tab i have given the required parameters for the gzip compression.

in j2ee serevr i have set the following settings:

?MinimumGZipLength? property value as 1024 Bytes

AlwaysCompressed? property value = null

?NeverCompressed? property value = null

?CompressedOthers? property value as ?true?

MaximumCompressedURLLength = -1

i am using on my machine HTTPAnalyzerV3 s/w to analyse the compression.But i am not seeing any compression in my response mesage.but if i open any other website like google its showing compression in that tool.

do i need to analyse by this tool on server machine ?

i am not clear what to do now?

regar

stefan_grube
Active Contributor
0 Likes

Does the web service client request the compression with the HTTP header parameter:

Accept-Encoding: gzip

?

Regards

Stefan

rohit_goel
Participant
0 Likes

Hi,

how would i come to know that the server is compressing the data or not?

how could i measure that?

regards,

rohit

Former Member
0 Likes

More information on GZIP can be found here: http://www.gzip.org/

Information on GZIP for HTTP Adapter can be found here: http://help.sap.com/saphelp_nw04/helpdata/en/ad/08d52d6d95864492a6a5931bb62716/frameset.htm

rohit_goel
Participant
0 Likes

hi,

If i use SOAP adapter for sending my messaage , any configuration is required in SOAP sender communication channel ?

How would i come to know whether compression is done or not?

regards,

rohit

stefan_grube
Active Contributor
0 Likes

In the "module" tab of the SOAP adapter channel, you can add following parameter to the XISOAPAdapterbean:

XMBWS.Encoding gzip

See details in this guide:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

chapter 4.5

Regards

Stefan

rohit_goel
Participant
0 Likes

Thanks Stefan,

Can you suggest me how to analyse whether my message is being compressed or not...

waht steps should i follow to do this??

regards

Rohit

stefan_grube
Active Contributor
0 Likes

You can check with the TCPGateway or similar tools:

/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway

You need not care about the incoming message in PI, as the SOAP adapter does the unzipping by its own. The parameter is only necessary for the outgoing message, that means the request for receiver, the response for the sender adapter.

Regards

Stefan