SoapHeaderHandling.WriteHeaders Method
Assembly: System.Web.Services (in system.web.services.dll)
public: static void WriteHeaders ( XmlWriter^ writer, XmlSerializer^ serializer, SoapHeaderCollection^ headers, array<SoapHeaderMapping^>^ mappings, SoapHeaderDirection direction, bool isEncoded, String^ defaultNS, bool serviceDefaultIsEncoded, String^ envelopeNS )
public static void WriteHeaders ( XmlWriter writer, XmlSerializer serializer, SoapHeaderCollection headers, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, boolean isEncoded, String defaultNS, boolean serviceDefaultIsEncoded, String envelopeNS )
public static function WriteHeaders ( writer : XmlWriter, serializer : XmlSerializer, headers : SoapHeaderCollection, mappings : SoapHeaderMapping[], direction : SoapHeaderDirection, isEncoded : boolean, defaultNS : String, serviceDefaultIsEncoded : boolean, envelopeNS : String )
Not applicable.
Parameters
- writer
The XmlWriter to be used in writing the headers.
- serializer
The XmlSerializer to be used in writing the headers.
- headers
The SoapHeaderCollection that contains the SOAP headers to be written.
- mappings
An array of type SoapHeaderMapping that contains the mappings for the SOAP headers.
- direction
A SoapHeaderDirection value that indicates the direction of the SOAP headers.
- isEncoded
A Boolean that indicates whether the SOAP headers are encoded.
- defaultNS
A String that contains the default namespace for the XML Web service.
- serviceDefaultIsEncoded
A Boolean that indicates whether data sent to and from the XML Web service is encoded by default.
- envelopeNS
A String that contains the namespace for the SOAP message envelope.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.