Simple Web Service That Demonstrates the EnableDecompression Feature
When the EnableDecompression property on an instance of a client proxy class is set to true
the client will support decompression.
Dim service As New EnableDecompressionService()
service.EnableDecompression = true
VB
This gives the ability to interoperate with services that support compression.
To disable decompression, set EnableDecompression to false. One likely scenario for this is when you want
to view SOAP traces of the responses being sent from the server in plain text. Setting this property to false
lets the server know that decompression is not supported.
NOTE: The Web service in this sample does not support compression.
Run VB Sample
Microsoft .NET Framework SDK QuickStart Tutorials Version 2.0
Copyright � 2005 Microsoft Corporation. All rights reserved.
|