You can set it via SoapExtensionAttribute.Priority, like:

[CompressionExtensionAttribute(ctorParam, Priority=3)]

Of course you have to implement SoapExtensionAttribute-
derived class to do the job.

Fumiaki Yoshimatsu

> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> On Behalf Of Wil Burton
> Sent: Tuesday, May 28, 2002 11:31 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] SoapExtension Priority
>
>
> How do you set the priority on SoapExtensions without
> using the .config file?
>
> I am using compression and encryption soapextesions.  In
> order for it to work properly it must operate in the
> correct order.
>
> Client                   Server
>
> Compress   -> Encrypt >> Decrypt -> Decompress |
> Decompress <- Decrypt << Encrypt <- Compress  <-
>
> At first I thought I had it figured out how this is done.
> It seemed that the order of the attributes affected it,
> but I ran it once and it didn't work.  After switch the
> order on the client, it started working again.  Can anyone
> shed any light on this mess?

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to