wsSOAPAddHeader
Add a header to a SOAP message
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > wsSOAPAddHeader

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

Format

<instr>
  <type>wsSOAPAddHeader</type>
  <message>var:SOAPmessage</message>
  <header>
    <ns:MyHeader xmlns:ns="http://my-header-uri">
      <something />
    </ns:MyHeader>
  </header>
  <action>http://some-action-uri</action>
  <mustUnderstand>urn:true</mustUnderstand>
  <target>this:response</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory wsSOAPAddHeader
messageMandatory the SOAP message
headerMandatory
the SOAP header to add to the message
actionOptional an optional action URI - valid for SOAP1.1 messages
roleOptional an optional role URI - valid for SOAP1.2 messages
mustUnderstandOptional an optional mustUnderstand indicator
targetMandatory this:response

The wsSOAPAddHeader accessor adds a new Header fragment to a SOAP 1.1 or 1.2 Message. It creates a new SOAP Header if the supplied message does not already have one. The updated message is returned as the result.

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