ISOAPNode::Nodes Property (read-only)

[propget] HRESULT Nodes([out, retval] ISOAPNodes ** ppNodes);

This returns a Nodes collection object that represents all the child nodes of this node.

 

Return Values

///todo: discuss the possible return values

 

Sample Code

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

' call the echoString method
e.setMethod "echoString", "http://soapinterop.org/"
e.Parameters.Create "InputString" , "hello world"

' but use an intermediary to log the request/response
' the intermediary acts in the role of 'http://schemas.pocketsoap.com/logi/2001/01/'
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
' create a new node as a child of the header node.
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.