wsSOAPDeleteHeader
Delete a header from a SOAP message
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > wsSOAPDeleteHeader

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:mod:ws

Definition

Active URI Base

active:wsSOAPDeleteHeader

Format

<instr>
  <type>wsSOAPDeleteHeader</type>
  <message>var:SOAPmessage</message>
  <header>
    <MyHeader />
  </header>
  <namepspace>http://my-header-uri</namepspace>
  <target>this:response</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory wsSOAPDeleteHeader
messageMandatory the SOAP message
headerMandatory
the SOAP header to be removed from the message
namespaceOptional an optional namespace URI
targetMandatory this:response

The wsSOAPDeleteHeader accessor removes a Header from a SOAP 1.1 or 1.2 Message. The header argument must supply a template document with the same localName as the header element to be removed, if the namepsace argument URI is supplied than this must also match before the header will be deleted. The updated message is returned as the result.

© 2003,2004, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.