cancel
Showing results for 
Search instead for 
Did you mean: 

compress the webservice responce

0 Kudos

hi,

i have some webservices which is returning some hundred of MBs as their responce. while consuming the webservice it is taking long time to get the responce from the service. or it is giving me the request timed out error.

can i compress the responce?

can u please help me to resolve this problem??

thanks in advance

Regards,

NagaLaxmi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

a possible solution is to convert your return type into a byte stream and then compress this stream with the ZIP API. Your webservice should return this compressed data as byte[]. At client-side you then have to uncompress the byte[] and reconvert to the appropriate data type.

Regards

Sebastian

Former Member
0 Kudos

Hi

See this Thread

Kind Regards

Mukesh