use SOAP::Lite +trace=>'all'; #removing tracing later my $soap_resp = SOAP::Lite->uri('http://localhost/WebServiceFunctions')->proxy('http://localhost/cgi-bin/soap-cooltest.pl')->Hello('world'); print $soap_resp->result; if ($soap_resp->fault){print $soap_resp->faultstring}