SerializeExtraSoapHeaders method

void SerializeExtraSoapHeaders(
  1. XmlWriter? writer,
  2. String webMethodName
)
Serialize any extra necessary SOAP headers. This is used for authentication schemes that rely on WS-Security, or for endpoints requiring WS-Addressing. The writer. The Web method being called.

Implementation

void SerializeExtraSoapHeaders(XmlWriter? writer, String webMethodName) {
  // do nothing by default.
}