wsSOAPDeleteBody
Delete a body part from a SOAP message
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > wsSOAPDeleteBody

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

Format

<instr>
  <type>wsSOAPDeleteBody</type>
  <message>var:SOAPmessage</message>
  <body>
    <MyBody />
  </body>
  <namespace>http://my-body-uri</namespace>
  <target>this:response</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory wsSOAPDeleteBody
messageMandatory the SOAP message
bodyMandatory the SOAP body part to be removed from the message
namespaceOptional an optional namespace URI
targetMandatory this:response

The wsSOAPDeleteBody accessor removes a Body part from a SOAP 1.1 or 1.2 Message. The body argument must be a fragment with the same localname as the body element to be removed. If the namespace URI argument is supplied then only body arguments with that namespace and localname will be deleted. The updated message is returned as the result.

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