[propget] HRESULT Parameters([out, retval] ISOAPNodes ** Nodes);
This accesses the parameters collection [i.e. the collection of nodes that are children of the methodName element]. This correctly takes into account multiple serialization roots. You use this to build or read the parameters to the call you are making.
dim e
set e = CreateObject("pocketSOAP.Envelope.2")
e.setMethod "AddNumbers", "http://calc.org/"
e.Parameters.Create "a", 10
e.Parameters.Create "b", 20
set t = CreateObject("pocketSOAP.HTTPTransport.2")
t.send "http://soap.calc.org/", e.serialize
e.parse t
wscript.echo "results = " & e.parameters.item(0).Value
Copyright © Simon Fell, 2000-2004. All rights reserved.