Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2005

Tip: Looking for answers? Try searching our database.

Priority and Group settings in SOAPExtensions.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Jenkins - 02 Apr 2005 19:16 GMT
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.
Dilip Krishnan - 02 Apr 2005 20:05 GMT
Hello John,

Try this [0] article
[0] - http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_fxwebs
ervices/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...
>
[quoted text clipped - 24 lines]
>
> As always any help greatly appreciated.
John Jenkins - 02 Apr 2005 20:21 GMT
Thanks Dilip,
       I don't see any explanation as to why my Stream is empty though.

> Hello John,
>
[quoted text clipped - 35 lines]
> >
> > As always any help greatly appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.