require SOAP::Lite; SOAP::Lite->import( '+autodispatch' => 'proxy' => http://soap.soapserver.com', # there is a typo on this line, in the original post 'on_fault' => \&handle_error;