I'm having trouble using the most basic example of SOAP::Lite.
Initially, I was getting an error about version mismatch, so I added the soapversion('1.2') as per this question.
#!/usr/bin/perl -w
use strict;
use SOAP::Lite;
use Data::Dumper;
my $service = SOAP::Lite->service('https://www.w3schools.com/xml/tempconvert.asmx?WSDL');
$service->soapversion('1.2');
$service->serializer->soapversion('1.2');
my $result = $service->FahrenheitToCelsius('212');
print "result = " . Dumper $result;
I no longer get version error, instead I get: result = $VAR1 = 'Error';
I suppose you want to use some service. If so you use use
proxymethod instead ofservice. See proxy documentation:f2c.pl
perl f2c.plshows an error:But there is a general issue with FahrenheitToCelsius service.