2 // SoapIntputFilter.cs: SOAP Input Filter
5 // Sebastien Pouliot (spouliot@motus.com)
7 // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com)
13 namespace Microsoft
.Web
.Services
{
15 public abstract class SoapInputFilter
{
17 public SoapInputFilter () {}
19 [MonoTODO("always return true - for now")]
20 protected virtual bool CanProcessHeader (XmlElement header
, SoapContext context
)
23 throw new ArgumentNullException ("header");
25 throw new ArgumentNullException ("context");
26 // The header can be processed if any of the following conditions are true:
27 // 1. Actor is equal to ActorNext.
28 if (context
.Actor
.AbsoluteUri
== Soap
.ActorNext
)
30 // 2. Actor matches this node.
31 // 3. Actor is empty and the IsIntermediary property of context is false.
32 //if ((context.Actor == null) && (context.IsIntermediary))
37 public abstract void ProcessMessage (SoapEnvelope envelope
);