[propget] HRESULT Namespace([out, retval] BSTR * pVal);
[propput] HRESULT Namespace([in] BSTR newVal);
This is the namespace URI for the node element name
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.