1' -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
2
3' Connect to remote SOAP server
4
5Set soaplite = CreateObject("SOAP.Lite")
6' values can be stored in hash using "hash" method
7Set subhash = soaplite.hash("key_c", "Value C")
8Set hash = soaplite.hash("key_a", "Value A", "key_b", subhash)
9' or can be assigned directly
10hash.key_b.key_d = "Value D"
11
12Set echohash = soaplite.new( _
13  "proxy", "http://services.soaplite.com/echo.cgi", _
14  "uri",   "http://namespaces.soaplite.com/Echo" _
15).echo(hash).result
16
17MsgBox "key_a: "       & echohash.key_a       & chr(13) & _
18       "key_b+key_c: " & echohash.key_b.key_c & chr(13) & _
19       "key_b+key_d: " & echohash.key_b.key_d
20