Groups | Blog | Home
all groups > dotnet web services enhancements > april 2006 >

dotnet web services enhancements : DIME Message and compression


Fariba
4/24/2006 1:13:01 PM
I have developmed a WSE 2.0 enabled web service which accepts a soap message
with a DIME attachment. Everything works fine ,I know that in my soap request
attachment would be outside of soap envlope and does not inflate it as (base
64) does when it comes to binay data.My question is that is there a way of
applying a compression algorithm to my soap message using WSE 2.0? What
happens if someone (using my application) attachs a 30 MG file into the soap
request ? I know that I can put a filter to restricts user to do so ,but I am
just wondering if there is a compression algorithm to accomplish this?

Oskar Austegard
5/8/2006 9:04:43 AM
There is - at least a custom version - I'm working on implementing it
myself at the moment, using a variation of the code from here:
http://www.codeproject.com/cs/webservices/WebServiceZipFilter.asp

However, I keep running into this problem when I try to call the
webmethod with the compressed attachment: "hexadecimal value 0x0C, is
an invalid character". Since I'm streaming the output from the
compression algorithm straight to the attachment I am unable to simply
remove the character from the attachment.

Anyone?
AddThis Social Bookmark Button