use SOAP::Lite service => 'https://someserver.com/wsdl/Method.wsdl', on_fault => sub { print Dumper(@_), "\n"; exit; };