ISOAPNode::mustUnderstand Property

[propget] HRESULT mustUnderstand([out, retval] VARIANT_BOOL * MustUnderstand);
[propput] HRESULT mustUnderstand([in] VARIANT_BOOL MustUnderstand);

the mustUnderstand attribute is used to indicate that a particular header must be understood by the receiver otherwise it must fault. if mustUnderstand isn't set, then the receiver has the option to ignore any headers it doesn't know how to handle.

 

Return Values

///todo: discuss the possible return values

 

Sample Code

dim e,t,n
set e = CreateObject("pocketSOAP.Envelope.2")

' setup a header 
const LOG_NS = "http://schemas.pocketsoap.com/logi/2001/01/"
set n = e.Headers.Create ("Log", "", LOG_NS)
n.actor = LOG_NS
n.root = true
n.mustUnderstand = true
n.nodes.create "NextHop", "http://soap.4s4c.com/ilab/soap.asp", LOG_NS
...

 

See Also

The ISOAPNode Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.