[Mono-list] Accessing SoapHeaders in WS without SoapHeader Attribut

Boehl Michael Michael.Boehl@student.hpi.uni-potsdam.de
Tue, 18 Jan 2005 13:41:35 +0100


hi,

i am trying to get the actual SoapHeader without using =
SoapHeader-Attributes.

At the moment i do like this:

[WebMethod]
[SoapHeader("RP", Direction=3DSoapHeaderDirection.In)]
public void foo()
{
  evaluate(RP);
}

But i want to do it like that:

[WebMethod]
public void foo()
{
  SoapContext sc =3D RequestSoapContext.Current; //from wse 2.0
  evaluate(sc);
}

Michael

.