wsSOAPGetHeader
Get a header from a SOAP message
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > wsSOAPGetHeader

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:wsSOAPGetHeader

Format

<instr>
  <type>wsSOAPGetHeader</type>
  <message>var:SOAPmessage</message>
  <header>
    <MyHeader />
  </header>
  <namespace>http://my-namespace</namespace>
  <target>this:response</target>
</instr>

Syntax

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

The wsSOAPGetHeader accessor retrieves 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 retrieved. If the namespace argument URI is supplied then the header part's namespace must also match with it. The header is returned as the result.

© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.