[Mono-list] soap headers

Lluis Sanchez lluis@ximian.com
Tue, 08 Jun 2004 19:01:11 +0200


> How can I get at the soap envelope (especially the headers) from inside a web
> service?

To access a header from a web service method the easiest way is to
declare a variable for the header in the web service class and apply the
SoapHeaderAttribute to the method (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebservicesprotocolssoapheaderattributeclasstopic.asp for more info).

> 
> 
> 
> 
> -----------------------------------------------
> ABS Web Site:  www.abs.gov.au
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list