cancel
Showing results for 
Search instead for 
Did you mean: 

webservice compression

Former Member
0 Kudos

hi,

we have developed webservices which are carrying large amount data. is there any possible to compress(zip)and decompress webservice request and response.

regards

Guru

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Guruvulu,

Yes we can compress the XML data and do the encoding and send it through the web service. But in that case you should have the same kind of decoding logic present out there in the web service code as well.

Refer to the following links for some hints,

http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10794/adx04paj.htm#i1027439

http://www.stylusstudio.com/xmldev/200405/post30150.html

http://www.javaworld.com/javaworld/javatips/jw-javatip117.html?tip

Thanks,

Guru.

Former Member
0 Kudos

hi,

we are using WEBAS. can i configure it to compress request and response of my webservice.

regards

Guru

Former Member
0 Kudos

HI Guruvulu,

I don't think there is a direct way to compress XML messages in WEBAS. Hoever the work around is to compress your own messages and send it through the XML tags as usual and then uncompress/decode it in your web-service and process the data. Same way if your web service is returning some data again you will have to do the precess.

I think its not a very good idea to compress data because it will again put lot of processing time in your application and make it dependable on the compression mechanism, but if you your data is too much in quatity then it will be a necessary evil

Thanks and regards,

Guru.

Answers (0)