ISOAPEnvelope::URI Property

[propget] HRESULT URI([out, retval] BSTR * pVal);
[propput] HRESULT URI([in] BSTR newVal);

This allows you to get/set the namespace URI associated with the methodName element, e.g.
<s:Envelope xmlns:s="'http://schemas.xmlsoap.org/soap/envelope/>
<s:Body>
<m:AddNumbers xmlns:m="http://example.org/">
<a>10</a>
<b>20</b>
</m:AddNumbers>
</s:Body>
</s:Envelope>

In this example 'http://example.org/' is the methodName namespace.

 

Return Values

 

Sample Code

dim e, t
set e = CreateObject("pocketSOAP.ENvelope.2")
e.URI = "http://example.org/"
e.MethodName = "AddNumbers"
...

 

See Also

The ISOAPEnvelope Interface | 

 

 

Copyright

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