use strict; package TESTso; use SOAP::Lite; # +trace => 'debug'; my $HOST = "http://138.215.248.216:8080/Soap/test.php"; my $NS = "ITest"; my $PHRASE = "hello"; my $soap = SOAP::Lite ->readable(1) ->uri($NS) ->proxy($HOST); my $som = $soap->MyResponse(SOAP::Data->name("What" => "$PHRASE")); print "The response from the server was:\n".$som->result."\n";