By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,958 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,958 IT Pros & Developers. It's quick & easy.

WebService's HttpModule not getting Init()ed

P: n/a
Si
I'm writing an HttpModule to intecept web method calls and retrieve
custom authentication information from their SOAP headers.

I have the httpModules tag in web.config and that appears to be getting
parsed okay. If I mangle the type attribute or try to add the module
twice I get configuration errors as expected. So I "assume" that the
module is getting loaded.

Init() is not getting called, though, when I make a call to a web
method on the service to which the module is supposedly attached. The
module doesn't even appear to be getting constructed, if I try to throw
an exception from the module's ctor it never happens.

The web method is being called by client side JavaScript using the
webservice behaviour and the call simply succeeds without any
breakponts or exceptions in the HttpModule getting fired.

Identical results when invoking the WS call from the test page.

TIA,
Si

Jan 26 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.