[propget] HRESULT Value([out, retval] VARIANT * pVal);
[propput] HRESULT Value([in] VARIANT newVal);
This gets/sets the current value of the node.
dim n, e set n = CreateObject("pocketSOAP.Node.1") n.name = "FirstNumber" n.value = 10 n.URI= "http://calc.org/" set e=CreateObject("pocketSOAP.Envelope.2") e.SetMethod "Add", "http://calc.org/" e.Parameters.Append n wscript.echo e.serialize 'prints <S:Envelope S:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:S='http://schemas.xmlsoap.org/soap/envelope/' xmlns:E='http://schemas.xmlsoap.org/soap/encoding/' xmlns:a='http://calc.org/' xmlns:b='http://www.w3.org/2001/XMLSchema-instance' xmlns:c='http://www.w3.org/2001/XMLSchema'> <S:Body><a:Add><a:FirstNumber b:type='c:short'>10</a:FirstNumber> </a:Add> </S:Body></S:Envelope>
Copyright © Simon Fell, 2000-2004. All rights reserved.