my $soap_url = 'http://www.someotheraddress/soap'; use SOAP::Lite +autodispatch => uri => 'http://www.someaddress/something' , proxy => $soap_url , on_fault => sub { my ( $soap, $res ) = @_; die ref $res ? "FAULT: " . $res->faultstring : "FAULT: " . $soap->transport->status, "\n" } ; #### proxy: transport protocol not specified BEGIN failed--compilation aborted at ./TEST2.pl line 33.