SoapHeaderHandling.ReadHeaders Method
.NET Framework 2.0
Returns a String that contains the SOAP header content of the SOAP message.
Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
public: String^ ReadHeaders ( XmlReader^ reader, XmlSerializer^ serializer, SoapHeaderCollection^ headers, array<SoapHeaderMapping^>^ mappings, SoapHeaderDirection direction, String^ envelopeNS, String^ encodingStyle, bool checkRequiredHeaders )
public String ReadHeaders ( XmlReader reader, XmlSerializer serializer, SoapHeaderCollection headers, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, String envelopeNS, String encodingStyle, boolean checkRequiredHeaders )
public function ReadHeaders ( reader : XmlReader, serializer : XmlSerializer, headers : SoapHeaderCollection, mappings : SoapHeaderMapping[], direction : SoapHeaderDirection, envelopeNS : String, encodingStyle : String, checkRequiredHeaders : boolean ) : String
Not applicable.
Parameters
- reader
The XmlReader to be used in writing the headers.
- serializer
The XmlSerializer to be used in reading the headers.
- headers
The SoapHeaderCollection that contains the SOAP headers.
- 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.
- envelopeNS
A String that contains the namespace for the SOAP message envelope.
- encodingStyle
A String that contains the encoding style for the SOAP headers.
- checkRequiredHeaders
A Boolean that indicates whether to check for the required SOAP headers.
Return Value
A String that contains the SOAP header content of the SOAP message.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.Community Additions
ADD
Show: