Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/SOAP/Raku/soap.raku
Normal file
12
Task/SOAP/Raku/soap.raku
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue