WCFSoapMessageHeader Class

WCFSoapMessageHeader adds a SOAP header for the service request. This class enables you to change the encryption algorithm and key used in the header.

Methods

WCFSoapMessageHeader method Description
AddMessageHeaderItem Adds a SoapHeader item. The WCF client then sets the SOAP header before sending out the request. The format for a SoapHeader item is:
  <ItemName xmlns=”ItemNamespace”>EncryptedItemValue</ItemName>
RemoveMessageHeaderItem Removes the SoapHeader item with the name that you pass in the ItemName parameter of this method.
RemoveAllMessageHeaderItems Removes all SoapHeader items.
Related reference
WCFConnection Class
Related information
AddMessageHeaderItem Method
RemoveAllMessageHeaderItems Method
RemoveMessageHeaderItem Method