In a web service I have 8 methods (there's about 50 in that web service)
that use a custom soap extension for compression data. How set the client (a
.net winform) to use the custom soap extension when calling this webmethods?
The generated proxy don't use then and allways I need recreate the proxy my
custom modifications (like including a [CompactExtension] mark) is
overwrited.
John Saunders - 06 Oct 2006 22:39 GMT
> In a web service I have 8 methods (there's about 50 in that web service)
> that use a custom soap extension for compression data. How set the client
> (a .net winform) to use the custom soap extension when calling this
> webmethods? The generated proxy don't use then and allways I need recreate
> the proxy my custom modifications (like including a [CompactExtension]
> mark) is overwrited.
Use a SoapExtensionImporter. See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
concustomizinggenerationprocessesforservicedescriptionsproxyclasses.asp.
John