Re: Priority and Group settings in SOAPExtensions.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks Dilip,
I don't see any explanation as to why my Stream is empty though.


"Dilip Krishnan" <dkrishnan@xxxxxxxxxxxxxxxxxx> wrote in message
news:d4e6b2cf687688c7059bbbb51400@xxxxxxxxxxxxxxxxxxxxxxx
> Hello John,
>
> Try this [0] article
> [0] -
http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_fxwebservices/html/97d81ace-95e7-4acc-ae39-9692a0021e95.asp
> HTH
> Regards,
> Dilip Krishnan
> MCAD, MCSD.net
> dkrishnan at geniant dot com
> http://www.geniant.com
>
> > My second attempt at the same question...
> >
> > Can someone clarify the precedence of execution for SOAPExtensions?? I
> > have
> > a security extension which I configure in Web.Config. Works great
> > thanks for
> > that.
> > I have another extension which I only want to apply to a couple of web
> > methods, so I create a SOAPExtensionAttribute so I can decorate the
> > appropriate web method.
> > I want the >>second<< extension to execute first (because I need
> > access to security info from the SOAP messagefor the extension to
> > work.) so I set its priority to "0". Remember this is the one
> > configured by decorating the apropriate web methods.
> >
> > I then set the Group on my security extension (configured in
> > web.config) to
> > "1" and priority="1".
> > To me this would imply my >>second<< extension should execute first.
> > It appears to >>try<< to execute first but there is >>NOTHING<< in the
> > message stream. I know it executes first because I log details.
> > OK, so I change the second extension to be configured via web.config,
> > setting group to "0" and priority="0". This works fine!
> >
> > Can someone tell me what is going on. I cannot find anything on MSDN
> > to help me out here.
> >
> > As always any help greatly appreciated.
> >
>
>
>


.



Relevant Pages

  • Priority and Group settings in SOAPExtensions.
    ... Can someone clarify the precedence of execution for SOAPExtensions?? ... I have another extension which I only want to apply to a couple of web ... I then set the Group on my security extension to ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Priority and Group settings in SOAPExtensions.
    ... Can someone clarify the precedence of execution for SOAPExtensions?? ... a security extension which I configure in Web.Config. ... I have another extension which I only want to apply to a couple of web ... To me this would imply my>>second<< extension should execute first. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)