SOAP: Difference between revisions
Rename Perl 6 -> Raku, alphabetize, minor clean-up
(julia example) |
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
||
Line 21:
// do another something
}</lang>
=={{header|AutoHotkey}}==
using embedded vb scripting.
Line 280 ⟶ 281:
end
</lang>
=={{header|Kotlin}}==
Line 359:
anotherSoapFunc[12345];
</lang>
=={{header|Perl}}==
Line 371 ⟶ 370:
-> service('http://example.com/soap/wsdl')
-> anotherSoapFunc(34234);</lang>
=={{header|Perl 6}}==▼
<lang perl6>#!/usr/bin/env perl6▼
# Reference:▼
# https://github.com/retupmoca/P6-SOAP▼
# http://wiki.dreamfactory.com/DreamFactory/Tutorials/Temp_Conversion_SOAP_API▼
use v6;▼
use SOAP::Client;▼
my $request = SOAP::Client.new('http://www.w3schools.com/xml/tempconvert.asmx?WSDL') or die;▼
say $request.call('CelsiusToFahrenheit', Celsius => 100 ) or die;▼
say $request.call('FahrenheitToCelsius', Fahrenheit => 212 ) or die;</lang>▼
{{out}}▼
<pre>{CelsiusToFahrenheitResult => [212]}▼
{FahrenheitToCelsiusResult => [100]}▼
</pre>▼
=={{header|Phix}}==
Line 517 ⟶ 495:
'''Note:''' SOAPpy is a third-party module and can be found at [http://pywebsvcs.sourceforge.net/ Python Web Services]
(formerly Perl 6)
▲<lang perl6>#!/usr/bin/env perl6
▲# Reference:
▲# https://github.com/retupmoca/P6-SOAP
▲# http://wiki.dreamfactory.com/DreamFactory/Tutorials/Temp_Conversion_SOAP_API
▲use v6;
▲use SOAP::Client;
▲my $request = SOAP::Client.new('http://www.w3schools.com/xml/tempconvert.asmx?WSDL') or die;
▲say $request.call('CelsiusToFahrenheit', Celsius => 100 ) or die;
▲say $request.call('FahrenheitToCelsius', Fahrenheit => 212 ) or die;</lang>
▲{{out}}
▲<pre>{CelsiusToFahrenheitResult => [212]}
▲{FahrenheitToCelsiusResult => [100]}
▲</pre>
=={{header|Ruby}}==
Line 554 ⟶ 553:
set result1 [ExampleService::soapFunc "hello"]
set result2 [ExampleService::anotherSoapFunc 34234]</lang>
=={{header|Uniface}}==
|