SOAP: Difference between revisions

585 bytes added ,  14 years ago
+AutoHotkey
(→‎Tcl: Correct to actually perform the official task: oops!)
(+AutoHotkey)
Line 21:
}
</lang>
=={{header|AutoHotkey}}==
 
using embedded vb scripting.
{{libheader|ws4ahk}}
<lang AutoHotkey>WS_Initialize()
obj := WS_CreateObject("MSSOAP.SoapClient")
WS_AddObject(obj, "client")
WS_ReleaseObject(obj) ; scripting environment has object, we don't need it anymore
callhello = client.soapFunc("hello")
callanother = client.anotherSoapFunc(34234)
WS_Eval(result, callhello)
WS_Eval(result2, callanother)
Msgbox % result . "`n" . result2
WS_Uninitialize()
#Include ws4ahk.ahk ; http://www.autohotkey.net/~easycom/ws4ahk_public_api.html</lang>
=={{header|ColdFusion}}==
<lang cfm> <cfset client = createObject("webservice","http://example.com/soap/wsdl")>
Anonymous user