on 06-06-2006 9:39 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.