Base WebService Page and Event?
- From: lucius <lucius@xxxxxxxxxxxxxxxx>
- Date: Mon, 09 Jul 2007 11:15:50 -0400
I have a multiple Framework 2.0 .asmx.cs that have a string input
property called "securityinput" on many WebMethods. Each .asmx.cs
inherits from a base class that inherits from WebService.
I would like to create a custom Event in the constructor of this base
class that would capture/inspect the "securityinput" stuff. Then all
existing child WebService pages, as well as new ones, could have their
security automatically handled without doing their own
security-related method calls within their web methods.
I am forced to evaluate this "securityinput" manually because the web
service lives in a very heterogenous environment and some callers
cannot do anything beyond add securityinput as a parameter.
Is this possible?
Thanks.
.
- Follow-Ups:
- Re: Base WebService Page and Event?
- From: John Saunders [MVP]
- Re: Base WebService Page and Event?
- Prev by Date: Re: Include Verbose Description?
- Next by Date: interfacing WS with EDI
- Previous by thread: problem sending significant whitespace in DataSets across webservice (dotnet 2.0)
- Next by thread: Re: Base WebService Page and Event?
- Index(es):
Loading