SOAP: Difference between revisions

Content added Content deleted
Line 151: Line 151:
response2 = soap.anotherSoapFunc(:aNumber => 42)
response2 = soap.anotherSoapFunc(:aNumber => 42)
puts response2.anotherSoapFuncReturn</lang>
puts response2.anotherSoapFuncReturn</lang>

=={{header|Smalltalk}}==
{{works with|Smalltalk/X, Dolphin}} (not sure about Pharo and VW)
<lang smalltalk>
| service client response1 response2|

service := WSDLService onUrl: 'http://example.com/soap/wsdl'.

client := service createClient.
response1 := client send: 'soapFunc' withArguments:{ 'value' }.
response2 := client send: 'anotherSoapFunc' withArguments:{ 42 }.</lang>


=={{header|Tcl}}==
=={{header|Tcl}}==