SOAP: Difference between revisions

Content added Content deleted
No edit summary
Line 39: Line 39:
<cfset result = client.soapFunc("hello")>
<cfset result = client.soapFunc("hello")>
<cfset result = client.anotherSoapFunc(34234)></lang>
<cfset result = client.anotherSoapFunc(34234)></lang>

==Icon and Unicon==

==={{header|Unicon}}===

After importing the <tt>soap</tt> package from the [https://tapestry.tucson.az.us/unilib Unicon Code Library] this can be done with:
<lang Unicon>import soap

procedure main(A)
soap := SoapClient(A[1] | "http://example.com/soap/wsdl") # Allow override of default
write("soapFunc: ",soap.call("soapFunc"))
write("anotherSoapFunc: ",soap.call("anotherSoapFunc"))
end</lang>


=={{header|Perl}}==
=={{header|Perl}}==